diff options
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 |
