From cfbafc8f82792aec9452e2b85379da4be5bccf17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Sun, 25 May 2014 00:26:46 +0200 Subject: [PATCH] shutdown error report fixed by revert to old state.. --- application/core/ErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/ErrorHandler.php b/application/core/ErrorHandler.php index c1ee8bb8..c55234ad 100644 --- a/application/core/ErrorHandler.php +++ b/application/core/ErrorHandler.php @@ -353,7 +353,7 @@ class ErrorHandler { */ public function handleShutdown() { $error = error_get_last(); - if ($error) { + if ($error && ($error['type'] & E_FATAL)) { $this->handleError($error['type'], $error['message'], $error['file'], $error['line']); } }