Skip to content

Commit

Permalink
Remove arbitrary offset.
Browse files Browse the repository at this point in the history
This should never have been here, and instead been in the Debugger code.
  • Loading branch information
markstory committed Dec 1, 2014
1 parent f2970b2 commit 37930b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Template/Element/exception_stack_trace.ctp
Expand Up @@ -22,7 +22,7 @@ foreach ($error->getTrace() as $i => $stack):
$excerpt = $params = [];

if (isset($stack['file']) && isset($stack['line'])):
$excerpt = Debugger::excerpt($stack['file'], $stack['line'] - 1, 4);
$excerpt = Debugger::excerpt($stack['file'], $stack['line'], 4);
endif;

if (isset($stack['file'])):
Expand Down

0 comments on commit 37930b1

Please sign in to comment.