Skip to content

Commit

Permalink
'toggle vendor stack frames' do not work
Browse files Browse the repository at this point in the history
  • Loading branch information
garas committed Feb 3, 2017
1 parent 875b454 commit 3c838c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Template/Element/exception_stack_trace_nav.ctp
Expand Up @@ -18,7 +18,7 @@ use Cake\Error\Debugger;

<ul class="stack-trace">
<?php foreach ($error->getTrace() as $i => $stack): ?>
<?php $class = (isset($stack['file']) && strpos(APP, $stack['file']) === false) ? 'vendor-frame' : 'app-frame'; ?>
<?php $class = (isset($stack['file']) && strpos($stack['file'], APP) === false) ? 'vendor-frame' : 'app-frame'; ?>
<li class="stack-frame <?= $class ?>">
<?php if (isset($stack['function'])): ?>
<a href="#" data-target="stack-frame-<?= $i ?>">
Expand Down

0 comments on commit 3c838c1

Please sign in to comment.