Permalink
Browse files

Fixed stack trace countdown

  • Loading branch information...
1 parent d7beab1 commit f8484b3959fad9eba05f1dd4780c0b06d8211b58 @Artazor Artazor committed May 14, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 exception/stack_trace.php
@@ -2,6 +2,8 @@
<?$trace=$this->getWrapTrace()?>
<?if($trace[6]['function'] ==='__assert' && !$trace[6]['args'][0]):?>
<?$countdown=8?>
+<?else:?>
+<?$countdown=0?>
<?endif?>
<?foreach($trace as $n=>$t):?><?$t=(object)$t?>
<?if(--$countdown>0)continue?>

0 comments on commit f8484b3

Please sign in to comment.