fixed debug notice

This commit is contained in:
Steffen Schröder 2014-02-19 16:40:50 +01:00
parent 71ab8764df
commit 0242f348ad

View File

@ -157,7 +157,7 @@ class ErrorHandler {
*/ */
public function triggerDebugNotice($message) { public function triggerDebugNotice($message) {
$backtrace = debug_backtrace(); $backtrace = debug_backtrace();
$callee = next($backtrace); $callee = array_shift($backtrace);
$this->errorHandler(self::MC_DEBUG_NOTICE, $message, $callee['file'], $callee['line']); $this->errorHandler(self::MC_DEBUG_NOTICE, $message, $callee['file'], $callee['line']);
} }