mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Sofia Global Settings: Fix Copy of disabled record.
This commit is contained in:
@@ -219,7 +219,7 @@ if (!class_exists('sofia_global_settings')) {
|
||||
|
||||
//add copy to the description
|
||||
$array[$this->table][$x][$this->name.'_uuid'] = uuid();
|
||||
$array[$this->table][$x]['global_setting_enabled'] = $row['global_setting_enabled'];
|
||||
$array[$this->table][$x]['global_setting_enabled'] = $row['global_setting_enabled'] === true ? 'true' : 'false';
|
||||
$array[$this->table][$x][$this->description_field] = trim($row[$this->description_field] ?? '').trim(' ('.$text['label-copy'].')');
|
||||
|
||||
//increment the id
|
||||
|
||||
Reference in New Issue
Block a user