Code

Applied patch from marcosmamorim closes #912
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Mar 2010 08:28:01 +0000 (08:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Mar 2010 08:28:01 +0000 (08:28 +0000)
- The langauage wasn't initialized correctly.-

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@16508 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/setup.php

index 0c0056b1d7dc2688283541e05c76a4f47b605871..8f733d33907fc9ce62fc61a215bf94c77eafc88d 100644 (file)
@@ -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'] != ""){