From ccad0a30ece9783831c9a31001fc6e93f299792d Mon Sep 17 00:00:00 2001
From: ARNO* <arno@rezo.net>
Date: Sat, 8 Jan 2005 11:28:47 +0000
Subject: [PATCH] Petit bug d'affichage d'icone: les "annonces" sont de type
 "affich"

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

diff --git a/ecrire/inc_calendrier.php b/ecrire/inc_calendrier.php
index 70640f5a4a..7e36107d6c 100644
--- a/ecrire/inc_calendrier.php
+++ b/ecrire/inc_calendrier.php
@@ -1318,8 +1318,9 @@ function http_calendrier_rv($messages, $type) {
 		$date = $row['date_heure'];
 		$date_fin = $row['date_fin'];
 
+
 		if ($row['type']=="pb") $bouton = "pense-bete";
-		else if ($row['type']=="annonces") $bouton = "annonce";
+		else if ($row['type']=="affich") $bouton = "annonce";
 		else $bouton = "message";
 
 		if ($rv) {
-- 
GitLab