mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Use the sessions get method to get rows_per_page
This commit is contained in:
@@ -148,7 +148,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($_GET["email_status"]) ? "&email_status=".urlencode($_GET["email_status"]) : null;
|
||||
$param .= !empty($search) ? "&search=".urlencode($search) : null;
|
||||
$param .= !empty($_REQUEST['show']) && $_REQUEST['show'] == 'all' && permission_exists('email_queue_all') ? "&show=all" : null;
|
||||
|
||||
Reference in New Issue
Block a user