Check if var debugMode exists

Closes #21150 a second time.
2nd appearance of debugMode may not seen in first fix.
pull/22587/head
timm2k 4 years ago committed by GitHub
parent 24d1d93d9f
commit 4a352befca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/templates/exception.php

@ -23,7 +23,7 @@ style('core', ['styles', 'header']);
<?php endif; ?>
</ul>
<?php if ($_['debugMode']): ?>
<?php if (isset($_['debugMode']) && $_['debugMode'] === true): ?>
<br />
<h3><?php p($l->t('Trace')) ?></h3>
<pre><?php p($_['trace']) ?></pre>

Loading…
Cancel
Save