From 0242f348adb717bdcbc4252ee48c33bb0a5e82ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Wed, 19 Feb 2014 16:40:50 +0100 Subject: [PATCH] fixed debug notice --- 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 8efed7d0..f6adf326 100644 --- a/application/core/ErrorHandler.php +++ b/application/core/ErrorHandler.php @@ -157,7 +157,7 @@ class ErrorHandler { */ public function triggerDebugNotice($message) { $backtrace = debug_backtrace(); - $callee = next($backtrace); + $callee = array_shift($backtrace); $this->errorHandler(self::MC_DEBUG_NOTICE, $message, $callee['file'], $callee['line']); }