Skip to content

Commit

Permalink
possible fix for #34586: LegacyForm/ilAlphabetInputGUI: TypeError thr…
Browse files Browse the repository at this point in the history
…own with message ilAlphabetInputGUI::fixDBUmlauts(): Argument #1 () must be of
  • Loading branch information
alex40724 committed Oct 16, 2022
1 parent 35a5a33 commit 9301ddd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Services/Form/classes/class.ilAlphabetInputGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ public function getToolbarHTML(): string

$tpl = new ilTemplate("tpl.prop_alphabet.html", true, true, "Services/Form");
foreach ($this->getLetters() as $l) {
if (is_null($l)) {
continue;
}
$l = $this->fixDBUmlauts($l);
$tpl->setCurrentBlock("letter");
$tpl->setVariable("TXT_LET", $l);
Expand Down

0 comments on commit 9301ddd

Please sign in to comment.