From: hickert Date: Fri, 17 Feb 2006 05:30:53 +0000 (+0000) Subject: Fixed undefined index, if session is invalid X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=365a3a00e252ce1088fb003aae2d979d364dfc42;p=gosa.git Fixed undefined index, if session is invalid git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2700 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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'];