diff --git a/core/modules/content_translation/content_translation.pages.inc b/core/modules/content_translation/content_translation.pages.inc index 09b8e48..c3ecce9 100644 --- a/core/modules/content_translation/content_translation.pages.inc +++ b/core/modules/content_translation/content_translation.pages.inc @@ -49,7 +49,7 @@ function content_translation_overview(EntityInterface $entity) { // translations. $language_as_source = array(); foreach ($languages as $language) { - $langcode = $language->langcode; + $langcode = $language->id; $is_original = $langcode == $original; // Original has no source.