From c267ee104f17edc58305744816718d9cb3697b90 Mon Sep 17 00:00:00 2001 From: ARNO* <arno@rezo.net> Date: Tue, 28 Feb 2006 09:40:21 +0000 Subject: [PATCH] Correction de la largeur du graphique --- ecrire/exec/statistiques_svg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/exec/statistiques_svg.php b/ecrire/exec/statistiques_svg.php index 26d1145a68..15a74a879f 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)); -- GitLab