changeset 520 | d6adc4047ede |
parent 501 | 7b2dcd2b31c1 |
--- a/server/src/app/Models/Document.php Wed Feb 22 07:57:05 2017 +0100 +++ b/server/src/app/Models/Document.php Wed Feb 22 14:44:28 2017 +0100 @@ -134,8 +134,10 @@ public function getContributors() { if(is_null($this->contributors)) { + $roleList = CocoonUtils::OLAC_ROLES; + array_push($roleList, 'http://purl.org/dc/elements/1.1/creator'); $this->contributors = array_reduce( - CocoonUtils::OLAC_ROLES, + $roleList, function($res, $olacRole) { return array_merge( $res,