Fix: Can edit product description

This commit is contained in:
Laurent Destailleur 2011-03-05 00:47:35 +00:00
parent 12d7a9686e
commit 951da60671

View File

@ -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;