summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-10 23:14:58 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-10 23:14:58 +0000
commit3395c97e373bd0aef6558d01161353670598a5d6 (patch)
tree12b3d4d53c5c2704e9a50cb23f2318e1b705e2ac /includes/common.inc
parent78bc68f304b83a965e4223887d9443eb12bf91b4 (diff)
downloadbrdo-3395c97e373bd0aef6558d01161353670598a5d6.tar.gz
brdo-3395c97e373bd0aef6558d01161353670598a5d6.tar.bz2
Back to 6.0-dev
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 15a137297..fbd88e993 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');
// For database errors, we want the line number/file name of the place that