From c460873c8517527082ab562106d1ed8350b67701 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 6 Oct 2015 17:13:35 +0200 Subject: [PATCH] FIX The filter on thirdparty prices should be visible if there is at least one thirdparty price. --- htdocs/product/price.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/htdocs/product/price.php b/htdocs/product/price.php index b3b884cbd7e..49f4779d4e4 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -1286,18 +1286,18 @@ if (! empty($conf->global->PRODUIT_CUSTOMER_PRICES)) print ' '; print ''; - print ''; - print ''; - print ' '; - // Print the search button - print ''; - print ''; - print ''; - print ''; - if (count($prodcustprice->lines) > 0) { - $var = False; + print ''; + print ''; + print ' '; + // Print the search button + print ''; + print ''; + print ''; + print ''; + + $var = False; foreach ($prodcustprice->lines as $line) {