From 9a97000000030d5bd09ce566c70a2d4c60cb9853 Mon Sep 17 00:00:00 2001
From: "Committo,Ergo:sum" <esj@rezo.net>
Date: Mon, 20 Feb 2006 16:00:19 +0000
Subject: [PATCH] =?UTF-8?q?l'agenda=20ne=20marchait=20plus.=20La=20classe?=
 =?UTF-8?q?=20Link=20n'est=20d=C3=A9cidement=20pas=20fiable?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/inc_filtres.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ecrire/inc_filtres.php b/ecrire/inc_filtres.php
index b8d6dcabad..8e59f87c37 100644
--- a/ecrire/inc_filtres.php
+++ b/ecrire/inc_filtres.php
@@ -761,8 +761,7 @@ function agenda_affiche($i)
   $nb = array_shift($args); // nombre d'evenements (on pourrait l'afficher)
   $sinon = array_shift($args);
   $type = array_shift($args);
-  $self = new Link();
-  $self = $self->getUrl;
+  $self = $_SERVER['REQUEST_URI'];
   if (!$nb) return http_calendrier_init('', $type, '', '', $self, $sinon);
   $agenda = agenda_memo(0);
   $evt = array();
-- 
GitLab