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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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'];
}