mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-21 00:41:29 +01:00
Code simpler
This commit is contained in:
@@ -59,7 +59,7 @@ if ($page < 0) {
|
||||
} elseif (empty($page)) {
|
||||
$page = 0;
|
||||
}
|
||||
$limit = GETPOSTINT('limit') ? GETPOSTINT('limit') : $conf->liste_limit;
|
||||
$limit = GETPOSTINT('limit', $conf->liste_limit);
|
||||
$offset = $limit * $page;
|
||||
|
||||
if (!$user->admin) {
|
||||
|
||||
Reference in New Issue
Block a user