From: hickert Date: Mon, 17 Sep 2007 11:51:46 +0000 (+0000) Subject: Hide errors for filter saving. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7d15e68b87bd7e712469d75220359615fd76e3fc;p=gosa.git Hide errors for filter saving. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7305 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/main.php b/html/main.php index c56a23175..b99ea8ba1 100644 --- a/html/main.php +++ b/html/main.php @@ -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); } } }