mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix all PHP 8.1 messages for upgrade.php
This commit is contained in:
@@ -68,7 +68,7 @@ if ($domains_processed == 1) {
|
||||
}
|
||||
|
||||
//add settings that are not in the database
|
||||
if (is_array($array) && count($array) > 0) {
|
||||
if (!empty($array)) {
|
||||
//grant temporary permissions
|
||||
$p = new permissions;
|
||||
$p->add('sofia_global_setting_add', 'temp');
|
||||
|
||||
Reference in New Issue
Block a user