Skip to content
Snippets Groups Projects

Hotline/16760 ccbm type doc not correctly set at update

Compare and
+ 66
2
Preferences
Compare changes
Files
@@ -637,7 +637,7 @@ class notice_integration {
$this->statut = static::RECORD_UPDATE;
// Zones forcees
$this->notice_sgbd->ouvrirNotice($unimarc, 0);
$this->notice_sgbd->ouvrirNotice($unimarc, $this->id_profil);
$champs_forces = $this->notice_sgbd->getChampsForces();
$id_origine = $this->notice["id_origine"];
@@ -648,7 +648,7 @@ class notice_integration {
// Si la notice de la base est de meilleure qualite on la prend
if ($this->statut == static::RECORD_RENEW)
$this->notice_sgbd->ouvrirNotice($this->notice["unimarc_with_items"], 0);
$this->notice_sgbd->ouvrirNotice($this->notice["unimarc_with_items"], $this->id_profil);
$this->updateForcedZones($champs_forces, $this->notice["champs_forces"]);
$this->notice = $this->notice_sgbd->getNoticeIntegration();