Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortimm2k <timm2k@gmx.de>2020-09-04 14:50:14 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-09-09 22:24:44 +0300
commit7a52b026a1ec1b23c9d3fe14abdf9287d09f9c59 (patch)
treed1b7be445b4d23337fdb5e13578d99d0a005fff7 /core/templates
parentb6c04b35c8729b9e0aa23a8065637b1ef97cb240 (diff)
Check if var debugMode exists
Closes #21150 a second time. 2nd appearance of debugMode may not seen in first fix.
Diffstat (limited to 'core/templates')
-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>