From 025e887e042d1b6bb18e060b0c486299d3a14ba8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 5 Mar 2011 00:47:46 +0000 Subject: [PATCH] Fix: Can edit product description --- htdocs/fourn/facture/fiche.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index c112844d220..a9d55178bc9 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -388,6 +388,7 @@ 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; } else