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

This commit is contained in:
frankwong
2013-01-23 20:56:48 -08:00
parent 5abb778b16
commit 023e11e691

View File

@@ -60,7 +60,7 @@ class Log {
foreach($trace as $item)
{
if ($item['class'] == __CLASS__)
if (isset($item['class']) AND $item['class'] == __CLASS__)
{
continue;
}