Check if var debugMode exists

Closes #21150 a second time.
2nd appearance of debugMode may not seen in first fix.
This commit is contained in:
timm2k 2020-09-04 13:50:14 +02:00 committed by GitHub
parent 24d1d93d9f
commit 4a352befca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>