From f94f5017f1554b1c29d68a9afe12a753ea6659f9 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 1 Jun 2005 18:56:17 +0000 Subject: [PATCH] Hide all muted errors for following releases git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@579 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/functions.inc b/include/functions.inc index 44bf12927..b01d42a69 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -1517,6 +1517,11 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) { global $error_collector; + /* Return if error reporting is set to zero */ + if (error_reporting() == 0){ + return; + } + /* Workaround for buggy imap_open error outputs */ if (preg_match('/imap_open/', $errstr)){ return; -- 2.30.2