Code simpler

This commit is contained in:
Laurent Destailleur
2024-03-15 20:29:21 +01:00
parent ae3878f522
commit 79aa9fb1f1
278 changed files with 281 additions and 281 deletions

View File

@@ -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) {