diff --git a/core/modules/content_translation/content_translation.pages.inc b/core/modules/content_translation/content_translation.pages.inc index e7bf9ba..89bce91 100644 --- a/core/modules/content_translation/content_translation.pages.inc +++ b/core/modules/content_translation/content_translation.pages.inc @@ -67,7 +67,7 @@ function content_translation_overview(EntityInterface $entity) { if (isset($translations[$langcode])) { // Existing translation in the translation set: display status. $translation = $entity->getTranslation($langcode); - $source = isset($translation->translation_source) ? $translation->translation_source->value : ''; + $source = isset($translation->translation_source) ? $translation->translation_source->value : Language::LANGCODE_NOT_SPECIFIED; $is_original = $langcode == $original; $label = $entity->getTranslation($langcode)->label(); $link = isset($links->links[$langcode]['href']) ? $links->links[$langcode] : array('href' => $path, 'language' => $language);