Fix: Postgresql compatibility
This commit is contained in:
parent
31ce38e12c
commit
f85ac5eb56
@ -634,7 +634,7 @@ class DoliDb
|
||||
{
|
||||
global $conf;
|
||||
if (! $limit) $limit=$conf->liste_limit;
|
||||
if ($offset > 0) return " LIMIT $offset,$limit ";
|
||||
if ($offset > 0) return " LIMIT ".$limit." OFFSET ".$offset." ";
|
||||
else return " LIMIT $limit ";
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user