fix #9475
This commit is contained in:
parent
a8009d4a72
commit
1dc2fc5060
@ -57,7 +57,7 @@ $sortfield = GETPOST("sortfield");
|
|||||||
$sortorder = GETPOST("sortorder");
|
$sortorder = GETPOST("sortorder");
|
||||||
if (!$sortorder) $sortorder = 'DESC';
|
if (!$sortorder) $sortorder = 'DESC';
|
||||||
if (!$sortfield) $sortfield = 'cf.date_creation';
|
if (!$sortfield) $sortfield = 'cf.date_creation';
|
||||||
$page = GETPOST("page");
|
$page = GETPOST('page','int') ? GETPOST('page','int') : 0;
|
||||||
if ($page < 0) $page = 0;
|
if ($page < 0) $page = 0;
|
||||||
$offset = $limit * $page;
|
$offset = $limit * $page;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user