mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 10:56:31 +00:00
Sofia Global Settings: Updates for PHP 8.1
This commit is contained in:
@@ -220,7 +220,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][$this->description_field] = trim($row[$this->description_field]).' ('.$text['label-copy'].')';
|
||||
$array[$this->table][$x][$this->description_field] = trim($row[$this->description_field] ?? '').trim(' ('.$text['label-copy'].')');
|
||||
|
||||
//increment the id
|
||||
$x++;
|
||||
@@ -249,4 +249,4 @@ if (!class_exists('sofia_global_settings')) {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user