From 75b45ca0c6d48cd6ebbfc409a7e72f946ed4e741 Mon Sep 17 00:00:00 2001
From: "Committo,Ergo:sum" <esj@rezo.net>
Date: Sat, 1 Oct 2005 08:30:35 +0000
Subject: [PATCH] une navigation un moins derivante...

---
 ecrire/inc_calendrier.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ecrire/inc_calendrier.php b/ecrire/inc_calendrier.php
index 7c7072c19a..02f4d4e20d 100644
--- a/ecrire/inc_calendrier.php
+++ b/ecrire/inc_calendrier.php
@@ -165,7 +165,10 @@ function http_calendrier_init($time='', $ltype='', $lechelle='', $lpartie_cal=''
 
 	if (!$time) 
 	  {
-	    $time = time();
+	    if (!$mois)
+	      $time = time();
+	    else
+	      $time = mktime(0,0,0,$mois,$jour,$annee);
 	    $type= 'mois';
 	  }
 
-- 
GitLab