From 37ce65b157d9bb22eedf068b4242b154b4eee0e2 Mon Sep 17 00:00:00 2001
From: efalcy <efalcy@afi-sa.fr>
Date: Fri, 2 Oct 2015 18:43:34 +0200
Subject: [PATCH] hotline #23808: add id_notice when user submit review

---
 application/modules/opac/controllers/AbonneController.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/application/modules/opac/controllers/AbonneController.php b/application/modules/opac/controllers/AbonneController.php
index 246ca25151f..9ec3ebb5d23 100644
--- a/application/modules/opac/controllers/AbonneController.php
+++ b/application/modules/opac/controllers/AbonneController.php
@@ -145,6 +145,7 @@ class AbonneController extends ZendAfi_Controller_Action {
         ->setAvis($this->_request->getParam('avisTexte'))
         ->setNote($this->_request->getParam('avisNote'))
         ->setUser($this->_user)
+        ->setIdNotice($id_notice)
         ->setClefOeuvre($notice->getClefOeuvre())
         ->setStatut(0);
 
-- 
GitLab