index d648d588dbe6e03b38a59feb6c37f4790ff2cf44..4354fdaea3094d60b6bf72a55b31b7e24029ee0c 100644 (file)
}
/* Check for global language settings in gosa.conf */
}
/* Check for global language settings in gosa.conf */
- if ($config->get_cfg_value('lang') != ""){
+ if (isset ($config) && $config->get_cfg_value('lang') != ""){
$lang = $config->get_cfg_value('lang');
if(!preg_match("/utf/i",$lang)){
$lang .= ".UTF-8";
$lang = $config->get_cfg_value('lang');
if(!preg_match("/utf/i",$lang)){
$lang .= ".UTF-8";