Code

Hide errors for filter saving.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Sep 2007 11:51:46 +0000 (11:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Sep 2007 11:51:46 +0000 (11:51 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7305 594d385d-05f5-0310-b6e9-bd551577e9d8

html/main.php

index c56a231753b1217c5ad150f15d8a9256295c5f93..b99ea8ba1be9d07f444450bf02d38e584ec0b406 100644 (file)
@@ -390,7 +390,7 @@ if(isset($config->data['MAIN']['SAVE_FILTER']) && preg_match("/true/",$config->d
   $cookie_vars = array("MultiDialogFilters","CurrentMainBase");
   foreach($cookie_vars as $var){
     if(isset($_SESSION[$var])){
-      setcookie($var,base64_encode(serialize($_SESSION[$var])),time()+ 60*60*24*30);
+      @setcookie($var,base64_encode(serialize($_SESSION[$var])),time()+ 60*60*24*30);
     }
   }
 }