From c80be658002bb54bbcf9c77a74f60931f5985650 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 5 Mar 2006 20:14:34 +0000 Subject: [PATCH] We should also catch E_NOTICE and E_WARNING --- kernel.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel.php b/kernel.php index 3cbb34a..4a61ee2 100644 --- a/kernel.php +++ b/kernel.php @@ -765,6 +765,7 @@ class ISSO // Error case E_USER_WARNING: + case E_WARNING: $title = 'Warning'; $mode = 2; if (! (($level & E_USER_WARNING) AND ($level & E_WARNING)) ) @@ -775,6 +776,7 @@ class ISSO // Warning case E_USER_NOTICE: + case E_NOTICE: default: $title = 'Notice'; $mode = 1; -- 2.43.5