Update app_defaults.php

This commit is contained in:
FusionPBX 2025-03-04 16:27:59 -07:00 committed by GitHub
parent 167cc94f18
commit cd3ff91f9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -505,6 +505,15 @@
$database->execute($sql);
unset($sql);
//update editor settings used in javascript need to be a string
$sql = "update v_default_settings ";
$sql .= "set default_setting_name = 'text' ";
$sql .= "where default_setting_category = 'editor' ";
$sql .= "and default_setting_subcategory in ('invisibles', 'indent_guides', 'line_numbers') ";
$sql .= "and default_setting_name = 'boolean' ";
$database->execute($sql);
unset($sql);
}
?>