Skip to content

Commit

Permalink
Merge pull request #21661 from timm2k/patch-1
Browse files Browse the repository at this point in the history
Manual backport of "Check if debugMode is defined before using it" #21657
  • Loading branch information
rullzer authored Jul 3, 2020
2 parents b44a9ea + 21b6678 commit 68fdcc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/templates/exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<ul>
<li><?php p($l->t('Remote Address: %s', [$_['remoteAddr']])) ?></li>
<li><?php p($l->t('Request ID: %s', [$_['requestID']])) ?></li>
<?php if($_['debugMode']): ?>
<?php if (isset($_['debugMode']) && $_['debugMode'] === true): ?>
<li><?php p($l->t('Type: %s', [$_['errorClass']])) ?></li>
<li><?php p($l->t('Code: %s', [$_['errorCode']])) ?></li>
<li><?php p($l->t('Message: %s', [$_['errorMsg']])) ?></li>
Expand Down

0 comments on commit 68fdcc0

Please sign in to comment.