From 365a3a00e252ce1088fb003aae2d979d364dfc42 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 17 Feb 2006 05:30:53 +0000 Subject: [PATCH] Fixed undefined index, if session is invalid git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2700 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/logout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/logout.php b/html/logout.php index fa34ff3c3..911663708 100644 --- a/html/logout.php +++ b/html/logout.php @@ -47,7 +47,7 @@ if (isset($_SESSION['config'])){ }else{ /* Language setup */ - if ($config->data['MAIN']['LANG'] == ""){ + if ((!isset($config))||(empty($config->data['MAIN']['LANG']))){ $lang= get_browser_language(); } else { $lang= $config->data['MAIN']['LANG']; -- 2.30.2