Merge pull request #22752 from nextcloud/backport/22587/stable19

[stable19] Check if var debugMode exists
This commit is contained in:
Morris Jobke 2020-09-10 09:33:38 +02:00 committed by GitHub
commit cacaf4b4ee
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>