diff --git a/gosa-core/setup/class_setupStep_Language.inc b/gosa-core/setup/class_setupStep_Language.inc
index e1b5e72ab61c11b2487740b8afb5063b924d967f..ebb9c497b5dbf840ebfa0fe3b3a7a722f39fecfc 100644 (file)
$this->is_completed = TRUE;
if($this->lang_selected != ""){
$this->is_completed = TRUE;
if($this->lang_selected != ""){
- $_SESSION['lang'] = $this->lang_selected;
+ session::set('lang',$this->lang_selected);
}else{
}else{
- $_SESSION['lang'] = $this->lang;
+ session::set('lang',$this->lang);
}
}
}
}
}
}