From af2c15882162c33429dbae022c0914f6fe286672 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 8 May 2019 02:11:50 +0200 Subject: [PATCH] Update reassort.php --- htdocs/product/reassort.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/reassort.php b/htdocs/product/reassort.php index dcaf9438cbf..72c36daa2a2 100644 --- a/htdocs/product/reassort.php +++ b/htdocs/product/reassort.php @@ -321,7 +321,7 @@ if ($resql) } if ($virtualdiffersfromphysical) print_liste_field_titre("VirtualStock", $_SERVER["PHP_SELF"], "", $param, "", '', $sortfield, $sortorder, 'right '); // Units - if($conf->global->PRODUCT_USE_UNITS) { + if (! empty($conf->global->PRODUCT_USE_UNITS)) { print_liste_field_titre("Unit", $_SERVER["PHP_SELF"], "unit_short", $param, "", 'align="right"', $sortfield, $sortorder); } print_liste_field_titre(''); @@ -385,7 +385,7 @@ if ($resql) print ''; } // Units - if ($conf->global->PRODUCT_USE_UNITS) { + if (! empty($conf->global->PRODUCT_USE_UNITS)) { print '' . $objp->unit_short . ''; } print ''.$langs->trans("Movements").'';