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
committerGitHub <noreply@github.com>2020-09-04 14:50:14 +0300
commit4a352befca067275d50c91909ed642d71b36f7d0 (patch)
tree05595c12010e3a6267b3da9d45c27c293ee239cd /core/templates
parent24d1d93d9f926280a636291c03cd56c7fec5417f (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>