diff --git a/web/modules/custom/geo_citation/geo_citation.module b/web/modules/custom/geo_citation/geo_citation.module index 8c5f3e8..740eb8a 100644 --- a/web/modules/custom/geo_citation/geo_citation.module +++ b/web/modules/custom/geo_citation/geo_citation.module @@ -75,7 +75,7 @@ function geo_citation_pseudo_field($entity) { return $markup; } - $authors = $entity->field_authors->entity->title->value; + $authors = isset($entity->field_authors->entity) ? $entity->field_authors->entity->title->value : ''; $date = $entity->field_publication_date->value; $year = substr($date, 0, 4); $title = $entity->title->value;