Use the sessions get method to get rows_per_page

This commit is contained in:
FusionPBX
2025-04-14 09:27:06 -06:00
committed by GitHub
parent a955b9389f
commit b7e24103bf
28 changed files with 28 additions and 28 deletions

View File

@@ -130,7 +130,7 @@
unset($sql, $parameters);
//prepare to page the results
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
$rows_per_page = $settings->get('domain', 'paging', 50);
$param = !empty($search) ? "&search=".$search : null;
$param .= (!empty($_GET['page']) && $show == 'all' && permission_exists('user_log_all')) ? "&show=all" : null;
$page = !empty($_GET['page']) && is_numeric($_GET['page']) ? $_GET['page'] : 0;