diff --git a/htdocs/product/index.php b/htdocs/product/index.php index f8055a313fc..1930ca712ba 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -167,7 +167,7 @@ if ($result) } else { - dolibarr_print_error(); + dolibarr_print_error($db); } print '';