diff --git a/ecrire/inc_filtres.php b/ecrire/inc_filtres.php index b8d6dcabadd63921ecafc3bb1f6174857cf0bf26..8e59f87c37005d8b19aeb58853c9e17081432500 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();