Skip to content

Commit

Permalink
Fixed stack trace countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Artazor committed May 14, 2012
1 parent d7beab1 commit f8484b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exception/stack_trace.php
Expand Up @@ -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?>
Expand Down

0 comments on commit f8484b3

Please sign in to comment.