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 backportbot[bot]
parent b6c04b35c8
commit 7a52b026a1
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>