Fix the delete for sofia global settings.

This commit is contained in:
FusionPBX
2022-01-08 10:53:44 -07:00
committed by GitHub
parent 63ab72df13
commit ccf59f4a0c

View File

@@ -95,7 +95,7 @@ if (!class_exists('sofia_global_settings')) {
$x = 0;
foreach ($records as $record) {
//add to the array
if ($record['checked'] == 'true' && is_uuid($record['uuid'])) {
if ($record['checked'] == 'true' && is_uuid($record['sofia_global_setting_uuid'])) {
$array[$this->table][$x]['sofia_global_setting_uuid'] = $record['sofia_global_setting_uuid'];
}