diff --git a/OpenSQLManager.php b/OpenSQLManager.php index d0f6f9d..eb23a5a 100644 --- a/OpenSQLManager.php +++ b/OpenSQLManager.php @@ -93,7 +93,7 @@ function exception_error_handler($errno, $errstr, $errfile, $errline) // Do this after the two compatibility checks for cleaner output // Note that this will throw exceptions on notices -set_error_handler("exception_error_handler", -1); +set_error_handler("exception_error_handler", E_ERROR | E_WARNING | E_NOTICE); // --------------------------------------------------------------------------