Skip to content
Permalink
Browse files

'toggle vendor stack frames' do not work

  • Loading branch information...
garas committed Feb 3, 2017
1 parent 875b454 commit 3c838c1e61f3ae42913903a99e22592cf0c4675f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Template/Element/exception_stack_trace_nav.ctp
@@ -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 ?>">

0 comments on commit 3c838c1

Please sign in to comment.
You can’t perform that action at this time.