commit
2069223e4e
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ $sortfield = GETPOST("sortfield");
|
|||
$sortorder = GETPOST("sortorder");
|
||||
if (!$sortorder) $sortorder = 'DESC';
|
||||
if (!$sortfield) $sortfield = 'cf.date_creation';
|
||||
$page = GETPOST("page");
|
||||
$page = GETPOST('page','int') ? GETPOST('page','int') : 0;
|
||||
if ($page < 0) $page = 0;
|
||||
$offset = $limit * $page;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue