From 3a1b7d653073a4339a9bea36770f1b33fbce1caf Mon Sep 17 00:00:00 2001 From: jfefe Date: Mon, 4 May 2015 12:37:50 +0200 Subject: [PATCH] Missing renaming fields --- htdocs/product/card.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/product/card.php b/htdocs/product/card.php index be24fd52bc2..3dc86bd3052 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -187,7 +187,7 @@ if (empty($reshook)) $units = GETPOST('units', 'int'); $object->ref = $ref; - $object->label = GETPOST('libelle'); + $object->label = GETPOST('label'); $object->price_base_type = GETPOST('price_base_type'); if ($object->price_base_type == 'TTC') @@ -315,7 +315,7 @@ if (empty($reshook)) $object->oldcopy=dol_clone($object); $object->ref = $ref; - $object->label = GETPOST('libelle'); + $object->label = GETPOST('label'); $object->description = dol_htmlcleanlastbr(GETPOST('desc')); $object->url = GETPOST('url'); $object->note = dol_htmlcleanlastbr(GETPOST('note')); @@ -822,7 +822,7 @@ else print ''; // Label - print ''.$langs->trans("Label").''; + print ''.$langs->trans("Label").''; // On sell print ''.$langs->trans("Status").' ('.$langs->trans("Sell").')';