diff --git a/htdocs/product/stats/fiche.php b/htdocs/product/stats/fiche.php index 2dd34266564..2939c278bfe 100644 --- a/htdocs/product/stats/fiche.php +++ b/htdocs/product/stats/fiche.php @@ -252,7 +252,7 @@ if ($_GET["id"]) print ''.$langs->trans("ChartNotGenerated").''; } print '['.$langs->trans("ReCalculate").']'; - if (file_exists($filenbpiece) && filemtime($filenbpiece33)) + if (file_exists($filenbpiece) && filemtime($filenbpiece)) { print ''.$langs->trans("GeneratedOn",dolibarr_print_date(filemtime($filenbpiece),"%d %b %Y %H:%M:%S")).''; }