Skip to content
Snippets Groups Projects

Hotline/17236 fix double encoding on update

Merged Ghost User requested to merge hotline/17236-fix-double-encoding-on-update into hotline_6.54
Compare and
+ 34
3
Preferences
Compare changes
Files
@@ -637,7 +637,7 @@ class notice_integration {
$this->statut = static::RECORD_UPDATE;
// Zones forcees
$this->notice_sgbd->ouvrirNotice($unimarc, $this->id_profil);
$this->notice_sgbd->ouvrirNotice($unimarc, $this->id_profil, 0, '', false);
$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"], $this->id_profil);
$this->notice_sgbd->ouvrirNotice($this->notice["unimarc_with_items"], $this->id_profil, 0, '', false);
$this->updateForcedZones($champs_forces, $this->notice["champs_forces"]);
$this->notice = $this->notice_sgbd->getNoticeIntegration();