From 3966368db96a7bea295b28ba8bc83191a03ae09c Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 24 Jul 2008 12:12:56 +0000 Subject: [PATCH] Fixed the error on line 81 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12017 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/logout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/html/logout.php b/gosa-core/html/logout.php index b0e5b0bef..55b12943b 100644 --- a/gosa-core/html/logout.php +++ b/gosa-core/html/logout.php @@ -78,7 +78,7 @@ if (isset($_GET['request'])){ session::destroy (); /* If we're not using htaccess authentication, just redirect... */ - if ($config->get_cfg_value("htaccess_auth") == "true"){ + if (isset($config) && $config->get_cfg_value("htaccess_auth") == "true"){ /* Else notice that the user has to close the browser... */ $smarty->display (get_template_path('headers.tpl')); -- 2.30.2