From 299cbdf9a8abbd11971ff32e0f45bccca992ef00 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 15 Mar 2010 08:28:01 +0000 Subject: [PATCH] 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 --- gosa-core/html/setup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'] != ""){ -- 2.30.2