Fixed bug where laravel is generating error log from outside of application classes.
This commit is contained in:
parent
5abb778b16
commit
023e11e691
|
@ -60,7 +60,7 @@ public static function write($type, $message, $pretty_print = false)
|
|||
|
||||
foreach($trace as $item)
|
||||
{
|
||||
if ($item['class'] == __CLASS__)
|
||||
if (isset($item['class']) AND $item['class'] == __CLASS__)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue