summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-30 23:07:41 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-30 23:07:41 +0000
commit60cb54b9382b642111cacff358c9641aa9de9da0 (patch)
tree6fe8e72cfc1ca8112d9f0d063ea91616005fa87c /includes
parentc2665870c47b30bf35b91dd471d961c170f5a131 (diff)
downloadbrdo-60cb54b9382b642111cacff358c9641aa9de9da0.tar.gz
brdo-60cb54b9382b642111cacff358c9641aa9de9da0.tar.bz2
Back to 6.0-dev
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index d585f324a..789a01673 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -577,7 +577,7 @@ function drupal_error_handler($errno, $message, $filename, $line, $context) {
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', 4096 => 'recoverable fatal error');
// For database errors, we want the line number/file name of the place that