Fixed more php 8.1 errors (#6754)

* Update default_setting_edit.php

* Update default_settings_reload.php

* Update modules.php

* Update access_controls_reload.php

* Update call_recordings.php

* Update fax.php

* Update extension_edit.php

* Update extension_imports.php

* Update destination_imports.php

* Update dialplan_outbound_add.php

* Update dialplan_inbound_add.php

* Update voicemail_imports.php

* Update contact_import.php
This commit is contained in:
Alex
2023-06-12 17:06:56 -06:00
committed by GitHub
parent 5d9c8ad770
commit 25b24d68bd
13 changed files with 33 additions and 31 deletions

View File

@@ -867,7 +867,7 @@ if (!class_exists('modules')) {
}
//get module details
if (is_array($uuids) && @sizeof($uuids) != 0) {
if (!empty($uuids) && is_array($uuids) && @sizeof($uuids) != 0) {
$sql = "select ".$this->uuid_prefix."uuid as uuid, module_name as module, module_enabled as enabled from v_".$this->table." ";
$sql .= "where ".$this->uuid_prefix."uuid in (".implode(', ', $uuids).") ";
$database = new database;