Skip to content

Commit

Permalink
fix array key not defined warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
otrok7 committed Jun 4, 2024
1 parent 1defed1 commit 3963631
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bmlt-meeting-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -2665,7 +2665,8 @@ function fillUnsetOptions()
}
}
$this->fillUnsetArrayOption('authors', []);
$my_footer = $this->translate[$this->options['weekday_language']]['PAGE'].' {PAGENO}';
$my_footer = isset($this->translate[$this->options['weekday_language']]) ?
$this->translate[$this->options['weekday_language']]['PAGE'].' {PAGENO}' : '{PAGENO}';
$this->fillUnsetStringOption('nonmeeting_footer', $my_footer);
$this->fillUnsetStringOption('meeting1_footer', $this->options['nonmeeting_footer']);
$this->fillUnsetStringOption('meeting2_footer', $this->options['nonmeeting_footer']);
Expand Down

0 comments on commit 3963631

Please sign in to comment.