Fix php 8.0 warnings of modulebuilder

This commit is contained in:
lmarcouiller
2021-12-09 15:17:18 +01:00
parent 160c8402ea
commit 8b2002fbfb
6 changed files with 10 additions and 10 deletions

View File

@@ -98,7 +98,7 @@ $page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("pa
if (empty($page) || $page == -1) {
$page = 0;
} // If $page is not defined, or '' or -1
$offset = $liste_limit * $page;
$offset = $limit * $page;
$pageprev = $page - 1;
$pagenext = $page + 1;
if (!$sortorder) {