diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-03-30 10:44:52 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-03-30 10:44:52 +0000 |
commit | e3d98fe77b1f2c60ceefa0ddf9091d08815d1f89 (patch) | |
tree | 28e9d1ec2d09c57fc44edc09036ea7b546c6bb3d /phpBB/includes | |
parent | 4cbf6bc703bdadf716197b68a89b3438247ff022 (diff) | |
download | forums-e3d98fe77b1f2c60ceefa0ddf9091d08815d1f89.tar forums-e3d98fe77b1f2c60ceefa0ddf9091d08815d1f89.tar.gz forums-e3d98fe77b1f2c60ceefa0ddf9091d08815d1f89.tar.bz2 forums-e3d98fe77b1f2c60ceefa0ddf9091d08815d1f89.tar.xz forums-e3d98fe77b1f2c60ceefa0ddf9091d08815d1f89.zip |
fix LIMIT ALL in postgres layer
git-svn-id: file:///svn/phpbb/trunk@9413 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/db/postgres.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/postgres.php b/phpBB/includes/db/postgres.php index 5074ce55f4..d74a8167e9 100644 --- a/phpBB/includes/db/postgres.php +++ b/phpBB/includes/db/postgres.php @@ -170,7 +170,7 @@ class phpbb_dbal_postgres extends phpbb_dbal // if $total is set to 0 we do not want to limit the number of rows if ($total == 0) { - $total = -1; + $total = 'ALL'; } $query .= "\n LIMIT $total OFFSET $offset"; |