diff --git a/include/php_setup.inc b/include/php_setup.inc
index c7901d14e4c6331e97595fe74a699c0a324ab511..f38ddf6378433240a0a448a635d574bf676d3517 100644
--- a/include/php_setup.inc
+++ b/include/php_setup.inc
@@ -169,7 +169,7 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline)
   /* Return if error reporting is set to zero */
   if (error_reporting() == 0) {
     set_error_handler('gosaRaiseError', E_WARNING | E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT);
-    return;
+    return FALSE;
   }
 
   /* Workaround for buggy imap_open error outputs */