Skip to content

Commit 2a4373b

Browse files
committed
fixing according dcterm specs.
According to dcterms specs, there are no author field, it is named as creator - http://dublincore.org/documents/usageguide/elements.shtml#creator May be in the wild someone use dcterms:author then i will modify it to check if value is isset;
1 parent 021a7ae commit 2a4373b

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');
5555
}
5656

5757
/**

0 commit comments

Comments
 (0)