diff options
author | timm2k <timm2k@gmx.de> | 2020-09-04 13:50:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 13:50:14 +0200 |
commit | 4a352befca067275d50c91909ed642d71b36f7d0 (patch) | |
tree | 05595c12010e3a6267b3da9d45c27c293ee239cd /core/templates/exception.php | |
parent | 24d1d93d9f926280a636291c03cd56c7fec5417f (diff) | |
download | nextcloud-server-4a352befca067275d50c91909ed642d71b36f7d0.tar.gz nextcloud-server-4a352befca067275d50c91909ed642d71b36f7d0.zip |
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/exception.php')
-rw-r--r-- | core/templates/exception.php | 2 |
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> |