summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-20 23:14:11 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-20 23:14:11 +0000
commitd5974b78629c3ee01592eab2f2576d57893cd688 (patch)
treebac1bbdb492a6126c199f04bbd5ed9ef6d41d041 /includes
parentefd544136b51936e3eaada121c602e35f5d9faae (diff)
downloadbrdo-d5974b78629c3ee01592eab2f2576d57893cd688.tar.gz
brdo-d5974b78629c3ee01592eab2f2576d57893cd688.tar.bz2
back to 6.x-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 6a7fcc6b8..ecbc3dfff 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -578,7 +578,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