A new calendar is created in the user agenda every time he click on an ical link.
Just wondering why???

I fixed this way - also fixing an old bug (extra "print" before $method)

...
print "BEGIN:VCALENDAR\r\n";
print "VERSION:2.0\r\n";
-print "METHOD:print $method\r\n";
+print "METHOD: $method\r\n";
-if (!empty($calname)):
-  print "X-WR-CALNAME;VALUE=TEXT:$calname\r\n";
-endif;
...

Comments

jvieille created an issue. See original summary.

apaderno’s picture

Status: Active » Closed (outdated)

I am closing this issue, since it's for a Drupal version no longer supported.