diff --git a/preferences/inc/class.preferences_settings.inc.php b/preferences/inc/class.preferences_settings.inc.php index 326f713344..67a9c82c43 100644 --- a/preferences/inc/class.preferences_settings.inc.php +++ b/preferences/inc/class.preferences_settings.inc.php @@ -505,14 +505,14 @@ class preferences_settings switch($type) { case 'user': - $setting['values'] = array('' => lang('Use default'))+$setting['values']; + $setting['values'] = array(['value'=>'','label' => lang('Use default')])+$setting['values']; break; case 'default': case 'group': - $setting['values'] = array('' => lang('No default'))+$setting['values']; + $setting['values'] = array(['value'=>'','label' => lang('No default')])+$setting['values']; break; case 'forced'; - $setting['values'] = array('**NULL**' => lang('Users choice'))+$setting['values']; + $setting['values'] = array(['value'=> '**NULL**','label' => lang('Users choice')])+$setting['values']; break; } }