Update myobject_list.php
This commit is contained in:
parent
fdd899def4
commit
f5ace81116
@ -260,7 +260,7 @@ if (($page * $limit) > $nbtotalofrecords)
|
|||||||
$offset = 0;
|
$offset = 0;
|
||||||
}
|
}
|
||||||
// if total resultset is smaller the limit, no need to do paging.
|
// if total resultset is smaller the limit, no need to do paging.
|
||||||
if ($limit > $nbtotalofrecords)
|
if (is_numeric($nbtotalofrecords) && $limit > $nbtotalofrecords)
|
||||||
{
|
{
|
||||||
$resql = $result;
|
$resql = $result;
|
||||||
$num = $nbtotalofrecords;
|
$num = $nbtotalofrecords;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user