Fix a problem with loading default sofia global settings.

This commit is contained in:
FusionPBX 2022-09-30 11:27:15 -06:00 committed by GitHub
parent 1a0a8e1f6a
commit 92f0eb7405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,8 @@ if ($domains_processed == 1) {
//add the setting to the array
if (!$setting_found) {
$array['sofia_global_settings'][$x] = $row;
$array['sofia_global_settings']['insert_date'] = 'now()';
$array['sofia_global_settings'][$x]['insert_date'] = 'now()';
$x++;
}
}