Add textsize preference into required to reload list

This commit is contained in:
Hadi Nategh 2023-01-30 16:07:21 +01:00
parent 403a836ee4
commit cc885c343f

View File

@ -100,7 +100,7 @@ class preferences_settings
$GLOBALS['egw']->preferences->read_repository(); $GLOBALS['egw']->preferences->read_repository();
} }
// name of common preferences which require reload of framework, if there values change // name of common preferences which require reload of framework, if there values change
$require_reload = array('template_set', 'theme', 'lang', 'template_color', 'template_custom_color'); $require_reload = array('template_set', 'theme', 'lang', 'template_color', 'template_custom_color', 'textsize');
$old_values = array_intersect_key($GLOBALS['egw_info']['user']['preferences']['common'], array_flip($require_reload)); $old_values = array_intersect_key($GLOBALS['egw_info']['user']['preferences']['common'], array_flip($require_reload));
$attribute = $type == 'group' ? 'user' : $type; $attribute = $type == 'group' ? 'user' : $type;