Skip to content
Snippets Groups Projects
Commit 7761a388 authored by Daniel Berthereau's avatar Daniel Berthereau
Browse files

Fixed creation of mods for subjects.

parent 9e8ba258
Branches
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ class Mods extends AbstractMetadata
$roleTerm->setAttribute('type', 'text');
}
$subjects = $item->value('dcterms:contributor', ['all' => true, 'default' => []]);
$subjects = $item->value('dcterms:subject', ['all' => true, 'default' => []]);
foreach ($subjects as $subject) {
$subjectTag = $this->appendNewElement($mods, 'subject');
$this->appendNewElement($subjectTag, 'topic', (string) $subject);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment