Fix: Can edit product description
This commit is contained in:
parent
e54bfd21b7
commit
025e887e04
@ -388,6 +388,7 @@ if ($_REQUEST['action'] == 'update_line')
|
|||||||
$prod = new Product($db);
|
$prod = new Product($db);
|
||||||
$prod->fetch($_POST['idprod']);
|
$prod->fetch($_POST['idprod']);
|
||||||
$label = $prod->libelle;
|
$label = $prod->libelle;
|
||||||
|
if (trim($_POST['label']) != trim($label)) $label=$_POST['label'];
|
||||||
$type = $prod->type;
|
$type = $prod->type;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user