[kronolith] Add event from email

Nazar nazarius at ukr.net
Wed May 5 01:55:41 PDT 2004


Hello kronolith,

  when i receive event from email (attendies service)
  and choose "Add this to my calendar" option it don'd work.
  in file api.php in import function are this lines:
  
        $event = &$kronolith->getEvent();
        $event->fromiCalendar($content);
        $event->createEvent();
 !!!    $event->setID($content->getAttribute('UID'));
        $eventId = $event->save();

  And $content->getAttribute('UID') return 'kronolith:<event's ID in owner's calendar>'
  in sql.php we have check of $event->getID() what contains 'kronolith:7b780c7d3bb283f9094a344079622aed'
  if ID is not null we dont create new event but update event with
  this ID. But i have not event with id='kronolith:7b780c7d3bb283f9094a344079622aed'
  where i must it created?
  

-- 
Best regards,
 Nazar                          mailto:nazarius at ukr.net



More information about the kronolith mailing list