Commit 023e11e6 by frankwong

Fixed bug where laravel is generating error log from outside of application classes.

parent 5abb778b
......@@ -60,7 +60,7 @@ class Log {
foreach($trace as $item)
{
if ($item['class'] == __CLASS__)
if (isset($item['class']) AND $item['class'] == __CLASS__)
{
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment