mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02: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:
@@ -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 is set to 0 we do not want to limit the number of rows
|
||||||
if ($total == 0)
|
if ($total == 0)
|
||||||
{
|
{
|
||||||
$total = -1;
|
$total = 'ALL';
|
||||||
}
|
}
|
||||||
|
|
||||||
$query .= "\n LIMIT $total OFFSET $offset";
|
$query .= "\n LIMIT $total OFFSET $offset";
|
||||||
|
Reference in New Issue
Block a user