diff --git a/src/Service/UwNodeFieldValue.php b/src/Service/UwNodeFieldValue.php index f0519a9b24908b841b8f837b07c8468073a389a9..06280f5fe9c3b64626b33097c09b161c66818a2b 100644 --- a/src/Service/UwNodeFieldValue.php +++ b/src/Service/UwNodeFieldValue.php @@ -667,7 +667,7 @@ class UwNodeFieldValue { // If there is no author in the field, get the owner // of the blog post. - if (!$node->field_author) { + if (!$node->field_author->value) { // Set the author to the person who made blog. $author = [