diff options
| author | Damien Regad <dregad@mantisbt.org> | 2025-10-25 01:12:07 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2025-10-25 01:12:07 +0200 |
| commit | 481bb5292033af2918bea9a9af4b551781d17f5f (patch) | |
| tree | ae01b368c98ec0061b5937884f8ce696de133551 /drivers/adodb-postgres7.inc.php | |
| parent | 4cacd51045237191d07f98aa4d85f35647fc92e1 (diff) | |
| download | adodb-481bb5292033af2918bea9a9af4b551781d17f5f.tar.gz adodb-481bb5292033af2918bea9a9af4b551781d17f5f.tar.bz2 adodb-481bb5292033af2918bea9a9af4b551781d17f5f.zip | |
PHP 8.5: fix Non-canonical cast deprecations
Non-canonical cast (integer) is deprecated, use the (int) cast instead
Global search and replace throughout the code base.
Fixes #1143
Diffstat (limited to 'drivers/adodb-postgres7.inc.php')
| -rw-r--r-- | drivers/adodb-postgres7.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/adodb-postgres7.inc.php b/drivers/adodb-postgres7.inc.php index b5e63acf..9559eb00 100644 --- a/drivers/adodb-postgres7.inc.php +++ b/drivers/adodb-postgres7.inc.php @@ -117,8 +117,8 @@ class ADODB_postgres7 extends ADODB_postgres64 { { $nrows = (int) $nrows; $offset = (int) $offset; - $offsetStr = ($offset >= 0) ? " OFFSET ".((integer)$offset) : ''; - $limitStr = ($nrows >= 0) ? " LIMIT ".((integer)$nrows) : ''; + $offsetStr = ($offset >= 0) ? " OFFSET ".((int)$offset) : ''; + $limitStr = ($nrows >= 0) ? " LIMIT ".((int)$nrows) : ''; if ($secs2cache) $rs = $this->CacheExecute($secs2cache,$sql."$limitStr$offsetStr",$inputarr); else |
