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