mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Use the sessions get method to get rows_per_page
This commit is contained in:
@@ -192,7 +192,7 @@
|
||||
$num_rows = $database->select($sql, $parameters ?? null, 'column');
|
||||
|
||||
//prepare the paging
|
||||
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
|
||||
$rows_per_page = $settings->get('domain', 'paging', 50);
|
||||
if (!empty($app_uuid)) { $params[] = "app_uuid=".urlencode($app_uuid); }
|
||||
if (!empty($context)) { $params[] = "context=".urlencode($context); }
|
||||
if (!empty($search)) { $params[] = "search=".urlencode($search); }
|
||||
|
||||
Reference in New Issue
Block a user