Code

Allow to set multiple queries for a user filter.
[gosa.git] / gosa-core / include / php_setup.inc
index f57c9b1820b58cb82a0c3b6cb7aa130fbd42a175..82289820300c81a961f69b28b8b35a63711b7d59 100644 (file)
@@ -29,7 +29,10 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline)
   // To avoid recursion - restore original error handler.
   restore_error_handler();
 
-  /* Return if error reporting is set to zero */
+  /* Return if error reporting is set to zero 
+   * Also exclude statements prefixed with @ - Comment out the block below to see suppressed errors. 
+   * e.g. @call_function_but_hide_errors()
+   */
   if (error_reporting() == 0){
     set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) ;
     return;