This commit is contained in:
BENKE Charlene 2018-12-01 16:17:52 +01:00 committed by GitHub
parent a8009d4a72
commit 1dc2fc5060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;