mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user