mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
fix bugs in php 8.1 changes (#6744)
* Update voicemail_greetings.php * Update recordings.php * Update recording_edit.php * Update phrases.php * Update phrase_edit.php * Update music_on_hold_edit.php * Update fax_queue.php * Update extensions.php * Update email_templates.php * Update email_queue_edit.php * Update dialplan_inbound_add.php * Update device_profiles.php * Update device_profile_copy.php * Update contact_address_edit.php * Update call_recordings.php * Update call_center_agent_edit.php * Update call_center_agents.php * Update call_center_queues.php * Update call_block.php * Update menu_edit.php * Update default_setting_edit.php * Update database_edit.php
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
//get the count
|
||||
$sql = "select count(*) from v_device_profiles ";
|
||||
$sql .= "where true ";
|
||||
if (empty($_GET['show']) || $_GET['show'] != "all" || !permission_exists('device_profile_all')) {
|
||||
if (!empty($_GET['show']) || $_GET['show'] != "all" || !permission_exists('device_profile_all')) {
|
||||
$sql .= "and (domain_uuid = :domain_uuid or domain_uuid is null) ";
|
||||
$parameters['domain_uuid'] = $domain_uuid;
|
||||
}
|
||||
@@ -296,4 +296,4 @@
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user