Fix rows_per_page

This commit is contained in:
FusionPBX
2025-04-14 09:29:38 -06:00
committed by GitHub
parent b7e24103bf
commit 71b952cdc6

View File

@@ -117,7 +117,7 @@
$num_rows = $database->select($sql, $parameters ?? null, 'column');
//prepare to page the results
rows_per_pagerows_per_page $rows_per_page = $settings->get('domain', 'paging', 50);
$rows_per_page = $settings->get('domain', 'paging', 50);
$param = !empty($search) ? "&search=".$search : null;
$param = (isset($_GET['show']) && $_GET['show'] == 'all' && permission_exists('bridge_all')) ? "&show=all" : null;
$page = isset($_GET['page']) && is_numeric($_GET['page']) ? $_GET['page'] : 0;