mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-09 17:32:35 +01:00
Fix: Postgresql compatibility
This commit is contained in:
@@ -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 ";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user