From: cajus Date: Thu, 24 Jul 2008 12:12:56 +0000 (+0000) Subject: Fixed the error on line 81 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3966368db96a7bea295b28ba8bc83191a03ae09c;p=gosa.git Fixed the error on line 81 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12017 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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'));