From 3525306cc44ae5795b9dc2728915cd6d1ec9606a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 11 Feb 2018 13:29:37 +0100 Subject: [PATCH] Fix: wrong var name --- htdocs/product/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/card.php b/htdocs/product/card.php index 80366d7fde8..93f45317661 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -1594,7 +1594,7 @@ else // TODO change for compatibility with edit in place $typeformat='select;0:'.$langs->trans("Product").',1:'.$langs->trans("Service"); print ''.$form->editfieldkey("Type", 'fk_product_type', $object->type, $object, $usercancreate, $typeformat).''; - print $form->editfieldval("Type", 'fk_product_type', $object->type, $object, $perm, $typeformat); + print $form->editfieldval("Type", 'fk_product_type', $object->type, $object, $usercancreate, $typeformat); print ''; }