summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-05 21:31:59 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-05 21:31:59 +0000
commit57cedbb56de19da059aec8cff0c68ea1602e8f48 (patch)
tree3a15519e7732901ac32640422198c2fb830e1f58 /includes
parentaa6f1c83152d8829a4d2adaf7389c62a6512a6e6 (diff)
downloadbrdo-57cedbb56de19da059aec8cff0c68ea1602e8f48.tar.gz
brdo-57cedbb56de19da059aec8cff0c68ea1602e8f48.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 8f0b4f5d9..a6128675d 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 ^ 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');
// For database errors, we want the line number/file name of the place that