Merge remote-tracking branch 'origin/3.9' into 4.0

This commit is contained in:
Laurent Destailleur 2017-04-12 14:22:47 +02:00
commit 6f4ce8dc2f

View File

@ -795,7 +795,7 @@ if (empty($conf->global->MAIN_DISABLE_FULL_SCANLIST))
$nbtotalofrecords = $db->num_rows($result); $nbtotalofrecords = $db->num_rows($result);
} }
$sql.= $db->plimit($limit+1,$offset); $sql.= $db->plimit($limit,$offset);
//print $sql; //print $sql;
$resql = $db->query($sql); $resql = $db->query($sql);