summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimm2k <timm2k@gmx.de>2020-09-04 13:50:14 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-09-09 19:24:44 +0000
commit7a52b026a1ec1b23c9d3fe14abdf9287d09f9c59 (patch)
treed1b7be445b4d23337fdb5e13578d99d0a005fff7
parentb6c04b35c8729b9e0aa23a8065637b1ef97cb240 (diff)
downloadnextcloud-server-7a52b026a1ec1b23c9d3fe14abdf9287d09f9c59.tar.gz
nextcloud-server-7a52b026a1ec1b23c9d3fe14abdf9287d09f9c59.zip
Check if var debugMode exists
Closes #21150 a second time. 2nd appearance of debugMode may not seen in first fix.
-rw-r--r--core/templates/exception.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/exception.php b/core/templates/exception.php
index f0bf171be64..9fd19d5a8b1 100644
--- a/core/templates/exception.php
+++ b/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>