Skip to content

Commit 969e28b

Browse files
committed
failover for incorrect usage of dcterm
1 parent 2a4373b commit 969e28b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Providers/Dcterms.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ public function getDescription()
5151
*/
5252
public function getAuthorName()
5353
{
54-
return $this->bag->get('creator');
54+
if ($this->bag->get('creator'))
55+
return $this->bag->get('creator');
56+
return $this->bag->get('author');
5557
}
5658

5759
/**

0 commit comments

Comments
 (0)