Skip to content

Commit 1fc27e4

Browse files
committed
fixing error in php prior to 5.5
1 parent 49abb11 commit 1fc27e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Providers/Dcterms.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public function getDescription()
5151
*/
5252
public function getAuthorName()
5353
{
54-
if (!empty($this->bag->get('creator')))
54+
$author=$this->bag->get('creator');
55+
if (!empty($author))
5556
return $this->bag->get('creator');
5657
return $this->bag->get('author');
5758
}

0 commit comments

Comments
 (0)