From ab7c077148e23524f4f45c864308ffde2fcdf91e Mon Sep 17 00:00:00 2001
From: Juanjo Menent <jmenent@2byte.es>
Date: Thu, 9 Jun 2011 16:56:16 +0000
Subject: [PATCH] task #9747: Can show content of external calendar (ical) into
 agenda

---
 htdocs/comm/action/index.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php
index 2b81cb6d8df..016cc4c10a7 100644
--- a/htdocs/comm/action/index.php
+++ b/htdocs/comm/action/index.php
@@ -811,7 +811,8 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
 					print '<td nowrap="nowrap">';
 					if ($event->type_code != 'BIRTHDAY')
 					{
-                        if ($showinfo)
+						
+                        if ($showinfo && $event->type_code != 'ICALEVENT')
                         {
                             print $event->getNomUrl(2).' ';
                         }
-- 
GitLab