2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2017-06-06 10:53:53 +02:00
parent 2510ec7015
commit 02b5d9e6f7
105 changed files with 105 additions and 105 deletions

View File

@@ -49,7 +49,7 @@ if (! isset($mode) || $mode != 'noajax') // For ajax call
$sortfield = GETPOST("sortfield",'alpha');
$sortorder = GETPOST("sortorder",'alpha');
$page = GETPOST("page",'int');
if ($page == -1) { $page = 0; }
if (empty($page) || $page == -1) { $page = 0; } // If $page is not defined, or '' or -1
$offset = $conf->liste_limit * $page;
$pageprev = $page - 1;
$pagenext = $page + 1;