diff --git a/ecrire/inc/statistiques.php b/ecrire/inc/statistiques.php
index 9cb1531b619e4e5675026a57c7996c7a24b81605..ad9f86eb847d35fdb7d06cbee773330fc8154f3c 100644
--- a/ecrire/inc/statistiques.php
+++ b/ecrire/inc/statistiques.php
@@ -431,8 +431,16 @@ function statistiques_jour($key, $value, $largeur, $moyenne, $hauteur, $rapport,
 		$res = http_img_rien($largeur, 1, "trait_haut", $tagtitle)
 		. http_img_rien($largeur, $hauteur, $couleur, $tagtitle);
 	}
-	if (!$script) return $res;
-	return "<a href='$script&amp;date=$key' title='$title'>$res</a>";
+	if ($script)
+		$script .= "&amp;date=$key";
+	else  {
+		$y = date("Y", $key);
+		$m = date("m", $key);
+		$d = date("d", $key);
+		$script = generer_url_ecrire('calendrier', 
+				"type=semaine&annee=$y&mois=$m&jour=$d");
+	} 
+	return "<a href='$script' title='$title'>$res</a>";
 }
 
 // http://doc.spip.org/@statistiques_nom_des_mois