diff --git a/ecrire/inc/filtres.php b/ecrire/inc/filtres.php
index 5bbe7df7ad1c461276119973ebbca0c525d6e176..f8947608b6b0d8f5263e578b8ee9c63a1087c9bd 100644
--- a/ecrire/inc/filtres.php
+++ b/ecrire/inc/filtres.php
@@ -960,9 +960,14 @@ function agenda_affiche($i)
 		}
 	}
 	$d = array_keys($evt);
-	$mindate = date_ical(_request('jour')."/"._request('mois')."/"._request('annee'));
 	if (count($d))
 		$mindate = min($d);
+	else {
+	  $mindate = (_request('jour')."/"._request('mois')."/"._request('annee'));
+	  if ($mindate !='//')
+	  	$mindate = date_ical($mindate);
+	  else  $mindate = date("Ymd\THis");
+	}
 	$start = strtotime($mindate);
 	if ($type != 'periode')
 		$evt = array('', $evt);