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

@@ -345,7 +345,7 @@
fclose($handle);
//save to the data
if (is_array($array)) {
if (!empty($array) && is_array($array)) {
$database = new database;
$database->app_name = 'extensions';
$database->app_uuid = 'e68d9689-2769-e013-28fa-6214bf47fca3';