From 77c2632be656ebe5a307e397a732b29a05f0d9dc Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 23 Jan 2007 19:21:50 +0000 Subject: - Patch #99625: enable E_ALL mode. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index acd66a789..8827a732b 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -543,7 +543,7 @@ function error_handler($errno, $message, $filename, $line) { return; } - if ($errno & (E_ALL ^ E_NOTICE)) { + if ($errno & (E_ALL)) { $types = array(1 => 'error', 2 => 'warning', 4 => 'parse error', 8 => 'notice', 16 => 'core error', 32 => 'core warning', 64 => 'compile error', 128 => 'compile warning', 256 => 'user error', 512 => 'user warning', 1024 => 'user notice', 2048 => 'strict warning'); $entry = $types[$errno] .': '. $message .' in '. $filename .' on line '. $line .'.'; -- cgit v1.2.3