diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-21 22:33:30 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-21 22:33:30 +0000 |
commit | b3bda1c1e9d6cd72f26448f49c16e166bc24f53a (patch) | |
tree | dc6f87a906cb00c8f40d1c1ffdc6bc9a50d5ae85 /includes | |
parent | 5ed3db7c8b8e3cef41fba7a271f991004f2363fc (diff) | |
download | brdo-b3bda1c1e9d6cd72f26448f49c16e166bc24f53a.tar.gz brdo-b3bda1c1e9d6cd72f26448f49c16e166bc24f53a.tar.bz2 |
Getting ready for Drupal 6.0-beta3
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index b6963c677..8952f7a5c 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -562,7 +562,7 @@ function drupal_error_handler($errno, $message, $filename, $line, $context) { return; } - if ($errno & (E_ALL)) { + if ($errno & (E_ALL ^ E_NOTICE)) { $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'); // For database errors, we want the line number/file name of the place that |