Skip to content

Commit

Permalink
AdvMD: type fix for missing select translations (43520)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmitz-ilias committed Jan 13, 2025
1 parent a328bfd commit 019b1c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,14 @@ protected function addEditOptionsFieldsToDefinitionForm(
foreach ($options->getOptions() as $option) {
$position_identifiers[(string) ($option->getPosition() + 1)] = sprintf(
$this->lng->txt('meta_advmd_select_position_identifier'),
$option->getTranslationInLanguage($this->default_language)->getValue()
$option->getTranslationInLanguage($this->default_language)?->getValue() ?? ''
);
}

$disabled_checkbox_overwrites = [];

foreach ($options->getOptions() as $option) {
$option_value = $option->getTranslationInLanguage($this->default_language)->getValue();
$option_value = $option->getTranslationInLanguage($this->default_language)?->getValue() ?? '';
$hidden = $this->addRadioToEntriesGroup(
$entries,
$position_identifiers,
Expand Down

0 comments on commit 019b1c7

Please sign in to comment.