diff --git a/htdocs/product/price.php b/htdocs/product/price.php index b18c3b8828a..cbfe90a5a52 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -1328,7 +1328,9 @@ if ((empty($conf->global->PRODUIT_CUSTOMER_PRICES) || $action=='showlog_default_ $result = $db->query($sql); if ($result) { - $num = $db->num_rows($result); + print '
'; + + $num = $db->num_rows($result); if (! $num) { @@ -1471,6 +1473,8 @@ if ((empty($conf->global->PRODUIT_CUSTOMER_PRICES) || $action=='showlog_default_ print '
'; print "
"; } + + print ''; } else { dol_print_error($db); }