typo in ZFDebug_Controller_Plugin_Debug_Plugin_Exception
Closed this issue · 1 comments
luebbert42 commented
Line 146ff:
OLD:
self::$errors[] = array(
'type' => $type ,
'message' => $message ,
'file' => $file ,
'line' => $line,
'trace' => debug_backtrace()
);
NEW (removing the brackes []):
self::$errors = array(
'type' => $type ,
'message' => $message ,
'file' => $file ,
'line' => $line,
'trace' => debug_backtrace()
);
Before the plugin threw an exception in case you have an exception in one of your plugins. :-)
jokkedk commented
I can't replicate this in master. The static variable $errors is unused though, so either it should have a getter or be removed.