mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
fix LIMIT ALL in postgres layer
git-svn-id: file:///svn/phpbb/trunk@9413 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4cbf6bc703
commit
e3d98fe77b
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue