From 9c483905c3f981f97f1b896c6380a5a9e5847d19 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 15 Aug 2009 14:20:01 -0400 Subject: [PATCH] Fix updating status from an attendee's iTip response --- imp/lib/Mime/Viewer/Itip.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/imp/lib/Mime/Viewer/Itip.php b/imp/lib/Mime/Viewer/Itip.php index 963467e60..a8fe4eefd 100644 --- a/imp/lib/Mime/Viewer/Itip.php +++ b/imp/lib/Mime/Viewer/Itip.php @@ -115,7 +115,8 @@ class IMP_Horde_Mime_Viewer_Itip extends Horde_Mime_Viewer_Driver // vEvent reply. if ($registry->hasMethod('calendar/updateAttendee')) { try { - $event = $registry->call('calendar/updateAttendee', array('response' => $components[$key], 'sender' => $params[0]->getFromAddress())); + $hdrs = $this->_params['contents']->getHeaderOb(); + $event = $registry->call('calendar/updateAttendee', array('response' => $components[$key], 'sender' => $hdrs->getValue('From'))); $msgs[] = array('success', _("Respondent Status Updated.")); } catch (Horde_Exception $e) { $msgs[] = array('error', _("There was an error updating the event:") . ' ' . $e->getMessage()); -- 2.11.0