mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
Check the missing array has content before processing it.
This commit is contained in:
@@ -239,7 +239,7 @@ if (!class_exists('switch_settings')) {
|
||||
}
|
||||
|
||||
//add the missing default settings
|
||||
if (is_array($missing)) {
|
||||
if (count($missing) > 0) {
|
||||
$sql = "insert into v_default_settings (";
|
||||
$sql .= "default_setting_uuid, ";
|
||||
$sql .= "default_setting_category, ";
|
||||
|
||||
Reference in New Issue
Block a user