Skip to content

Commit

Permalink
Merge pull request #3 from dnmvisser/dv_fix_type_error1
Browse files Browse the repository at this point in the history
Fix type error
  • Loading branch information
tvdijen authored Feb 18, 2020
2 parents 6489540 + 2368f28 commit 7aa8563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/authorize_403.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
$this->data['403_text'] = $translator->t('{authorize:Authorize:403_text}');

if (array_key_exists('reject_msg', $this->data)) {
if (isset($this->data['reject_msg'][$translator->getLanguage()])) {
$this->data['403_text'] = $this->data['reject_msg'][$translator->getLanguage()];
if (isset($this->data['reject_msg'][$translator->getLanguage()->getLanguage()])) {
$this->data['403_text'] = $this->data['reject_msg'][$translator->getLanguage()->getLanguage()];
}
}
$this->includeAtTemplateBase('includes/header.php');
Expand Down

0 comments on commit 7aa8563

Please sign in to comment.