From 951da60671a2f8b062b7d872dd176c5d8861c388 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 5 Mar 2011 00:47:35 +0000 Subject: [PATCH] Fix: Can edit product description --- htdocs/fourn/facture/fiche.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index a5144bbf847..9439ca7b375 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -405,6 +405,8 @@ if ($_REQUEST['action'] == 'update_line') $prod = new Product($db); $prod->fetch($_POST['idprod']); $label = $prod->libelle; + if (trim($_POST['label']) != trim($label)) $label=$_POST['label']; + $type = $prod->type; $localtax1_tx = $prod->localtax1_tx; $localtax2_tx = $prod->localtax2_tx;