Skip to content
Snippets Groups Projects
Commit 4b21be3d authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #67232 digital resource does not call Album::setEditeur anymore

parent 08249f9b
Branches
Tags
3 merge requests!2395Master,!2394Hotline master,!2393Hotline#67232 dole moissonnage pnb ne fonctionne plus
Pipeline #2836 failed with stage
in 20 minutes and 56 seconds
......@@ -310,7 +310,6 @@ class Class_WebService_BibNumerique_RessourceNumerique {
$album
->setTitre($this->getTitle())
->setSousTitre($this->getSubtitle())
->setEditeur($this->getEditeur())
->setDescription($this->getDescription())
->setAnnee($this->getYear())
->setIdOrigine($this->getId())
......@@ -320,6 +319,9 @@ class Class_WebService_BibNumerique_RessourceNumerique {
->setStatus(Class_Album::STATUS_VALIDATED)
->setDroits($this->getRights());
if ($editor = $this->getEditeur())
$album->addEditor($editor);
foreach ($this->getAuthors() as $author)
$album->addAuthor($author);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment