mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Upgrade - CLI (Manual & Menu): Mitigate PHP 8.x warnings, minor adjustments.
This commit is contained in:
@@ -255,7 +255,7 @@ function save_gateway_xml() {
|
||||
}
|
||||
|
||||
function save_var_xml() {
|
||||
if (is_array($_SESSION['switch']['conf'])) {
|
||||
if (!empty($_SESSION['switch']['conf']) && is_array($_SESSION['switch']['conf'])) {
|
||||
global $config, $domain_uuid;
|
||||
|
||||
//skip this function if the conf directory is empty
|
||||
|
||||
Reference in New Issue
Block a user