Merge branch '2013.03' into 2013.10
authorPhilipp Schüle <p.schuele@metaways.de>
Thu, 9 Jan 2014 19:41:43 +0000 (20:41 +0100)
committerPhilipp Schüle <p.schuele@metaways.de>
Thu, 9 Jan 2014 19:41:43 +0000 (20:41 +0100)
1  2 
tine20/Calendar/Convert/Event/VCalendar/Abstract.php

@@@ -359,8 -350,9 +359,9 @@@ class Calendar_Convert_Event_VCalendar_
          }
          
          // find the main event - the main event has no RECURRENCE-ID
+         $baseVevent = null;
          foreach ($vcalendar->VEVENT as $vevent) {
 -            if(!isset($vevent->{'RECURRENCE-ID'})) {
 +            if (! isset($vevent->{'RECURRENCE-ID'})) {
                  $this->_convertVevent($vevent, $event);
                  $baseVevent = $vevent;