more php 8.1 changes (#6734)
* Update ivr_menu_edit.php * Update ringbacks.php * Update call_block_edit.php * Update call_broadcast.php * Update call_broadcast_edit.php * Update call_center_queue_edit.php * Update call_center_queue_edit.php * Update call_center_agent_status.php * Update call_center_queue_edit.php * Update call_center_agent_edit.php * Update call_center_queues.php * Update call_flow_edit.php * Update call_broadcast.php * Update call_forward.php * Update call_broadcast_send.php * Update conference_rooms.php * Update conference_centers.php * Update conference_control_edit.php * Update conference_control_details.php * Update conference_profile_edit.php * Update conference_profile_param_edit.php * Update conference_profile_edit.php * Update database_transaction_edit.php * Update database_transactions.php
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
$search = strtolower($_GET["search"] ?? '');
|
||||
|
||||
//set the show variable
|
||||
$show = $_GET['show'] ?? 'domain';
|
||||
$show = $_GET['show'] ?? '';
|
||||
|
||||
//define select count query
|
||||
$sql = "select count(*) from v_extensions ";
|
||||
@@ -131,8 +131,6 @@
|
||||
//prepare the paging
|
||||
$rows_per_page = !empty($_SESSION['domain']['paging']['numeric']) ? $_SESSION['domain']['paging']['numeric'] : 50;
|
||||
|
||||
$params[] = "app_uuid=" . call_forward::APP_UUID;
|
||||
|
||||
if ($search) {
|
||||
$params[] = "search=" . $search;
|
||||
}
|
||||
@@ -143,7 +141,7 @@
|
||||
$params[] = "order=" . $order;
|
||||
}
|
||||
if ($show == "all" && permission_exists('call_forward_all')) {
|
||||
$params[] .= "show=all";
|
||||
$params[] = "show=all";
|
||||
}
|
||||
$param = !empty($params) ? implode('&', $params) : '';
|
||||
unset($params);
|
||||
|
||||
Reference in New Issue
Block a user