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
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ public static function write($type, $message, $pretty_print = false)
foreach($trace as $item) foreach($trace as $item)
{ {
if ($item['class'] == __CLASS__) if (isset($item['class']) AND $item['class'] == __CLASS__)
{ {
continue; continue;
} }