Commit 30d0269f authored by bojanz's avatar bojanz

Fix the introduced (critical) typo in AddressItem.

parent a6e7c14f
......@@ -231,7 +231,7 @@ class AddressItem extends FieldItemBase implements AddressInterface {
}
elseif (!$this->getEntity()->isTranslatable()) {
// The getCurrentLanguage fallback is a workaround for core bug #2684873.
$language = $language_manager>getConfigOverrideLanguage() ?: $language_manager->getCurrentLanguage();
$language = $language_manager->getConfigOverrideLanguage() ?: $language_manager->getCurrentLanguage();
$this->langcode = $language->getId();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment