Fix comment
This commit is contained in:
parent
bb42589d6b
commit
83e1545720
@ -253,6 +253,7 @@ if (empty($conf->global->MAIN_DISABLE_FULL_SCANLIST))
|
|||||||
$result = $db->query($sql);
|
$result = $db->query($sql);
|
||||||
$nbtotalofrecords = $db->num_rows($result);
|
$nbtotalofrecords = $db->num_rows($result);
|
||||||
}
|
}
|
||||||
|
// if total resultset is smaller then paging size (filtering), goto and load page 0
|
||||||
if (($page * $limit) > $nbtotalofrecords)
|
if (($page * $limit) > $nbtotalofrecords)
|
||||||
{
|
{
|
||||||
$page = 0;
|
$page = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user