diff --git a/ecrire/inc_calendrier.php b/ecrire/inc_calendrier.php
index 70640f5a4a62a78851ddd8e2969deae14df78449..7e36107d6c07837728bfd6e07bfa0cfb6b8fa50b 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) {