From 508fbb2b0db4e40e11f7c94ff715aa0a516d41d3 Mon Sep 17 00:00:00 2001 From: Christophe Battarel Date: Sun, 8 Sep 2013 13:09:08 +0200 Subject: [PATCH] Fix: Edit propal line was losing product supplier price id --- ChangeLog | 2 +- htdocs/comm/propal/class/propal.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 64b3c928f37..a5028104ff2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,7 +14,7 @@ Fix: Fix bug with canvas thirdparty Fix: [ bug #1037 ] Consumption> Supplier invoices related Fix: User group name do not display in card (view or edit mode) Fix: Link "Show all supplier invoice" on suplier card not working - +Fix: Edit propal line was losing product supplier price id ***** ChangeLog for 3.4 compared to 3.3.* ***** For users: diff --git a/htdocs/comm/propal/class/propal.class.php b/htdocs/comm/propal/class/propal.class.php index db8dd255b6c..b6964b1981d 100644 --- a/htdocs/comm/propal/class/propal.class.php +++ b/htdocs/comm/propal/class/propal.class.php @@ -2924,7 +2924,7 @@ class PropaleLigne if (empty($this->info_bits)) $this->info_bits=0; if (empty($this->special_code)) $this->special_code=0; if (empty($this->fk_parent_line)) $this->fk_parent_line=0; - if (empty($this->fk_parent_line)) $this->fk_fournprice=0; + if (empty($this->fk_fournprice)) $this->fk_fournprice=0; if (empty($this->pa_ht)) $this->pa_ht=0;