Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Commit

Permalink
fix(#127): No organizer defined in dav event
Browse files Browse the repository at this point in the history
  • Loading branch information
fmbiete committed Jan 12, 2015
1 parent c2f61f9 commit 65ca54e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backend/caldav/caldav.php
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,12 @@ private function _ParseVEventToSyncObject($event, $message, $truncsize) {
}
}

// Workaround #127 - No organizeremail defined
if (!isset($message->organizeremail)) {
ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendCalDAV->_ParseVEventToSyncObject(): No organizeremail defined, using username"));
$message->organizeremail = $this->_username;
}

$valarm = current($event->GetComponents("VALARM"));
if ($valarm) {
$properties = $valarm->GetProperties();
Expand Down

0 comments on commit 65ca54e

Please sign in to comment.