Code

Added missing isset.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Nov 2007 13:59:55 +0000 (13:59 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Nov 2007 13:59:55 +0000 (13:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7894 594d385d-05f5-0310-b6e9-bd551577e9d8

html/main.php

index d8f643c2ac0e0d989aaceb6138c42efcb3b032cb..37a2eec73c14796cb2a3bceeaddd24c303c9413c 100644 (file)
@@ -407,7 +407,7 @@ $cookie = array();
 
 if(isset($_COOKIE['GOsa_Filter_Settings'])){
   $cookie = unserialize(base64_decode($_COOKIE['GOsa_Filter_Settings']));
-}elseif($HTTP_COOKIE_VARS['GOsa_Filter_Settings']){
+}elseif(isset($HTTP_COOKIE_VARS['GOsa_Filter_Settings'])){
   $cookie = unserialize(base64_decode($HTTP_COOKIE_VARS['GOsa_Filter_Settings']));
 }
 if(isset($config->data['MAIN']['SAVE_FILTER']) && preg_match("/true/",$config->data['MAIN']['SAVE_FILTER'])){