From 9cb0406f28308cd7a6b918a4f1758ce6887b8a7c Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 15 May 2012 14:13:10 -0400 Subject: [PATCH] Set error handler to handle fewer errors --- OpenSQLManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); // --------------------------------------------------------------------------