Code

Added xml quote to dependencies
[gosa.git] / gosa-core / html / logout.php
index b0e5b0beff50ee5712bf59001eaa9bdfc7dbfdee..55b12943b84fa58768b128c9495d2b5bbf277537 100644 (file)
@@ -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'));