Browse Source

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

frankwong 11 years ago
parent
commit
023e11e691
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/log.php

+ 1 - 1
laravel/log.php

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