Sofia Global Settings: Fix Copy of disabled record.

This commit is contained in:
fusionate 2023-06-09 18:42:16 +00:00
parent 2cc5035ceb
commit d92961d769
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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