]> source.dussan.org Git - nextcloud-server.git/commitdiff
Check if var debugMode exists 22587/head
authortimm2k <timm2k@gmx.de>
Fri, 4 Sep 2020 11:50:14 +0000 (13:50 +0200)
committerGitHub <noreply@github.com>
Fri, 4 Sep 2020 11:50:14 +0000 (13:50 +0200)
Closes #21150 a second time.
2nd appearance of debugMode may not seen in first fix.

core/templates/exception.php

index f0bf171be648f8a86c30cf431187baea60c8bc2c..9fd19d5a8b17da9b1fb9223290672f342251c140 100644 (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>