From 5f7cb75518168d679657b110eec382c26f529b54 Mon Sep 17 00:00:00 2001 From: Francis Appels Date: Wed, 3 Feb 2016 19:52:09 +0100 Subject: [PATCH] Fix #4556 desiredstock and seuil_stock_alerte cleared on modify product card removed inputs from update form also removed from update action --- htdocs/product/card.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/product/card.php b/htdocs/product/card.php index dbadd69cdcb..e6b48974d0b 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -321,8 +321,11 @@ if (empty($reshook)) $object->status = GETPOST('statut'); $object->status_buy = GETPOST('statut_buy'); $object->status_batch = GETPOST('status_batch'); + // removed from update view + /* $object->seuil_stock_alerte = GETPOST('seuil_stock_alerte'); $object->desiredstock = GETPOST('desiredstock'); + */ $object->duration_value = GETPOST('duration_value'); $object->duration_unit = GETPOST('duration_unit'); $object->canvas = GETPOST('canvas');