mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
php 8.1 changes (#6721)
* Update call_flows.php * Update call_flow_edit.php * Update call_forward.php * Update call_forward_edit.php * Update call_recordings.php * Update conference_centers.php * Update default_settings.php * Update default_setting_edit.php * Update access_controls.php * Update number_translations.php * Update number_translation_edit.php * Update setting_edit.php * Update bridges.php * Update bridge_edit.php * Update call_broadcast_edit.php * Update call_broadcast.php * Update call_block.php * Update call_broadcast_edit.php * Update call_center_agent_edit.php * Update call_center_agent_status.php * Update call_recordings.php
This commit is contained in:
@@ -113,7 +113,7 @@
|
||||
|
||||
//get the count
|
||||
$sql = "select count(default_setting_uuid) from v_default_settings ";
|
||||
if (!empty($search) && !empty($search)) {
|
||||
if (!empty($search)) {
|
||||
$sql .= "where (";
|
||||
$sql .= " lower(default_setting_category) like :search ";
|
||||
$sql .= " or lower(default_setting_subcategory) like :search ";
|
||||
@@ -135,7 +135,7 @@
|
||||
$sql = "select default_setting_uuid, default_setting_category, default_setting_subcategory, default_setting_name, ";
|
||||
$sql .= "default_setting_value, cast(default_setting_enabled as text), default_setting_description ";
|
||||
$sql .= "from v_default_settings ";
|
||||
if (!empty($search) && !empty($search)) {
|
||||
if (!empty($search)) {
|
||||
$sql .= "where (";
|
||||
$sql .= " lower(default_setting_category) like :search ";
|
||||
$sql .= " or lower(default_setting_subcategory) like :search ";
|
||||
|
||||
Reference in New Issue
Block a user