diff --git a/ecrire/exec/statistiques_svg.php b/ecrire/exec/statistiques_svg.php index 26d1145a687a393e216c28247f377408303d02e2..15a74a879f5b091a02898f5ba68fbeb6efe46965 100644 --- a/ecrire/exec/statistiques_svg.php +++ b/ecrire/exec/statistiques_svg.php @@ -100,7 +100,7 @@ echo '</defs>'; if (count($log)>0) { $max = max(max($log),$visites_today); $date_today = time(); - $nb_jours = floor(($date_today-$date_debut)/(3600*24)); + $nb_jours = floor(($date_today-$date_debut)/(3600*24)) + 1; $maxgraph = substr(ceil(substr($max,0,2) / 10)."000000000000", 0, strlen($max));