Branch 'dev/kolab3' - plugins/calendar

Thomas Brüderli bruederli at kolabsys.com
Wed May 23 10:46:37 CEST 2012


 plugins/calendar/calendar.php |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b4dc760d787e34d1ec0e5ebb5f84111134a81808
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Wed May 23 10:46:25 2012 +0200

    Ensure title property is present as a string

diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php
index 83993ac..3ee3d7b 100644
--- a/plugins/calendar/calendar.php
+++ b/plugins/calendar/calendar.php
@@ -1149,6 +1149,7 @@ class calendar extends rcube_plugin
     return array(
       'start' => gmdate('c', $this->fromGMT($event['start'])), // client treats date strings as they were in users's timezone
       'end'   => gmdate('c', $this->fromGMT($event['end'])),   // so shift timestamps to users's timezone and render a date string
+      'title'       => strval($event['title']),
       'description' => strval($event['description']),
       'location'    => strval($event['location']),
       'className'   => ($addcss ? 'fc-event-cal-'.asciiwords($event['calendar'], true).' ' : '') . 'fc-event-cat-' . asciiwords(strtolower($event['categories']), true),





More information about the commits mailing list