Merge pull request #6331 from defrance/patch-69
PHP7 warning error on $page not affected
This commit is contained in:
commit
b3901e059d
@ -65,7 +65,7 @@ $optioncss = GETPOST('optioncss','alpha');
|
||||
$limit = GETPOST("limit")?GETPOST("limit","int"):$conf->liste_limit;
|
||||
$sortfield = GETPOST("sortfield",'alpha');
|
||||
$sortorder = GETPOST("sortorder",'alpha');
|
||||
$page = GETPOST("page",'int');
|
||||
$page = (GETPOST("page",'int')?GETPOST("page", 'int'):0);
|
||||
if ($page == -1) { $page = 0; }
|
||||
$offset = $limit * $page;
|
||||
$pageprev = $page - 1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user