Skip to content

Commit

Permalink
This is an attribute of the container iCalendar, not the vTodo.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 16, 2015
1 parent 2b17dfe commit b180c49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions framework/Compress/lib/Horde/Compress/Tnef/VTodo.php
Expand Up @@ -343,11 +343,10 @@ public function toArray()
protected function _tovTodo()
{
$iCal = new Horde_Icalendar();
$iCal->setAttribute('METHOD', $this->_method);
$vtodo = Horde_Icalendar::newComponent('vtodo', $iCal);

$vtodo->setAttribute('UID', $this->_guid);
$vtodo->setAttribute('METHOD', $this->_method);

// For REQUESTS, we MUST have the ORGANIZER and an ATTENDEE.
if ($this->_state == self::STATE_ASSIGNERS_COPY || $this->_ownership == self::OWNERSHIP_ASSIGNERS_COPY) {
$vtodo->setAttribute('ORGANIZER', 'mailto: ' . $this->_lastUser);
Expand Down

0 comments on commit b180c49

Please sign in to comment.