fixed debug notice
This commit is contained in:
parent
71ab8764df
commit
0242f348ad
@ -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']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user