We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fc27e4 commit 069ddf0Copy full SHA for 069ddf0
src/Providers/Dcterms.php
@@ -51,10 +51,7 @@ public function getDescription()
51
*/
52
public function getAuthorName()
53
{
54
- $author=$this->bag->get('creator');
55
- if (!empty($author))
56
- return $this->bag->get('creator');
57
- return $this->bag->get('author');
+ return $this->bag->get('creator') ?: $this->bag->get('author');
58
}
59
60
/**
0 commit comments