From: hickert Date: Mon, 15 Mar 2010 08:28:01 +0000 (+0000) Subject: Applied patch from marcosmamorim closes #912 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=299cbdf9a8abbd11971ff32e0f45bccca992ef00;p=gosa.git Applied patch from marcosmamorim closes #912 - The langauage wasn't initialized correctly.- git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@16508 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/setup.php b/gosa-core/html/setup.php index 0c0056b1d..8f733d339 100644 --- a/gosa-core/html/setup.php +++ b/gosa-core/html/setup.php @@ -69,8 +69,8 @@ if (!(is_dir($smarty->compile_dir) && is_writable($smarty->compile_dir))){ } /* Get posted language */ -if(!session::global_is_set('language')){ - session::global_set('language',get_browser_language()); +if(!session::global_is_set('lang')){ + session::global_set('lang',get_browser_language()); } if(isset($_POST['lang_selected'])){ if($_POST['lang_selected'] != ""){