Skip to content
Snippets Groups Projects
Commit b9e1bfe6 authored by Eric Bremner's avatar Eric Bremner Committed by Martin Leblanc
Browse files

ISTWCMS-6203: fixing getting the correct author

parent 01bf03bf
No related branches found
No related tags found
No related merge requests found
......@@ -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 = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment