Skip to content

Commit a79b08b

Browse files
committed
Merge pull request #127 from zyuhel/patch-1
fixing according dcterm specs.
2 parents 021a7ae + 069ddf0 commit a79b08b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Providers/Dcterms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function getDescription()
5151
*/
5252
public function getAuthorName()
5353
{
54-
return $this->bag->get('author');
54+
return $this->bag->get('creator') ?: $this->bag->get('author');
5555
}
5656

5757
/**

0 commit comments

Comments
 (0)