From f9dd5b79f0403330fbee453a7292b67b77396bcc Mon Sep 17 00:00:00 2001 From: salvis Date: Wed, 1 Dec 2010 23:42:15 +0000 Subject: [PATCH] #970688: Enable E_NOTICES in the backtrace_error_handler(). --- devel.module | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/devel.module b/devel.module index 07add1d..18db28e 100644 --- a/devel.module +++ b/devel.module @@ -525,7 +525,7 @@ function backtrace_error_handler($errno, $message, $filename, $line) { if (error_reporting() == 0) { return; } - if ($errno & (E_ALL ^ E_NOTICE ^ E_DEPRECATED)) { + if ($errno & (E_ALL ^ E_DEPRECATED)) { // We can't use the PHP E_* constants here as not all versions of PHP have all // the constants defined, so for consistency, we just use the numeric equivelant. $types = array( -- 1.7.4.1