diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-14 20:08:59 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-14 20:08:59 +0000 |
commit | 86a6cd4ef3c80c882c3f279f0823327e5da8b03c (patch) | |
tree | 8446cba10a2b854c5e0f2e0265fee0a1a1fb2696 /includes | |
parent | 23778cc0c0107699a4b93584dd9e7d03bc42d5d0 (diff) | |
download | brdo-86a6cd4ef3c80c882c3f279f0823327e5da8b03c.tar.gz brdo-86a6cd4ef3c80c882c3f279f0823327e5da8b03c.tar.bz2 |
Marking code as beta 1 in preparation of the first beta release of Drupal 6, also add back E_NOTICE removal for the release.
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 d781cbc4d..f642515f2 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -543,7 +543,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 |