From fd02ed43174281c7e72ab362b672744951bff6cf Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 21 Jan 2020 20:50:58 +0100 Subject: [PATCH] Fix label --- htdocs/product/list.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/product/list.php b/htdocs/product/list.php index 6bf3beb6dde..9fc5eaa62d4 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -922,7 +922,10 @@ if ($resql) // Type if (!empty($arrayfields['p.fk_product_type']['checked'])) { - print ''.$obj->fk_product_type.''; + print ''; + if ($obj->fk_product_type == 0) print $langs->trans("Product"); + else print $langs->trans("Service"); + print ''; if (!$i) $totalarray['nbfield']++; }