From 55c3bcba48fe8910264d10746bf18807e603fd93 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 10 Feb 2006 05:42:00 +0000 Subject: [PATCH] Fix the conditions on which _error_handler() breaks --- kernel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel.php b/kernel.php index 98f583e..c5c3d52 100644 --- a/kernel.php +++ b/kernel.php @@ -765,7 +765,7 @@ class ISSO case E_USER_WARNING: $title = 'Warning'; $level = 2; - if (!(ini_get('error_reporting') & E_USER_WARNING) AND !(ini_get('error_reporting') & E_WARNING)) + if (! ((ini_get('error_reporting') & E_USER_WARNING) AND (ini_get('error_reporting') & E_WARNING)) ) { return; } @@ -776,7 +776,7 @@ class ISSO default: $title = 'Notice'; $level = 1; - if (!(ini_get('error_reporting') & E_USER_NOTICE) AND !(ini_get('error_reporting') & E_NOTICE)) + if (! ((ini_get('error_reporting') & E_USER_NOTICE) AND (ini_get('error_reporting') & E_NOTICE)) ) { return; } -- 2.43.5