From b113e6c6bf18b65a30f5fb4f5a3babba4c09511b Mon Sep 17 00:00:00 2001 From: Francis Appels Date: Mon, 13 Jul 2015 11:27:35 +0200 Subject: [PATCH] Fix #3120 Product Customer price not updated Re inserted product fetch was removed in commit e43d4a62392bacaf3d32fe824309cd9d3b612b07 --- htdocs/product/price.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 5ea2ff538b0..4114005ecdd 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -361,6 +361,11 @@ if (empty($reshook)) $form = new Form($db); +if (! empty($id) || ! empty($ref)) +{ + // fetch updated prices + $object->fetch($id, $ref); +} llxHeader("", "", $langs->trans("CardProduct" . $object->type)); $head = product_prepare_head($object);