Sofia Global Settings: Fix Copy of disabled record.
This commit is contained in:
parent
2cc5035ceb
commit
d92961d769
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue