From a7b6f84a821b86ead67985eaa0255319aeee2034 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 14 Aug 2009 19:33:20 -0400 Subject: [PATCH] fix property name --- imp/lib/Mime/Viewer/Itip.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imp/lib/Mime/Viewer/Itip.php b/imp/lib/Mime/Viewer/Itip.php index da5d3e9aa..bc9dc4c07 100644 --- a/imp/lib/Mime/Viewer/Itip.php +++ b/imp/lib/Mime/Viewer/Itip.php @@ -145,7 +145,7 @@ class IMP_Horde_Mime_Viewer_Itip extends Horde_Mime_Viewer_Driver // Try to update in calendar. if ($registry->hasMethod('calendar/replace')) { try { - $registry->call('calendar/replace', array('uid' => $guid, 'content' => $components[$key], 'contentType' => $this->mime_part->getType())); + $registry->call('calendar/replace', array('uid' => $guid, 'content' => $components[$key], 'contentType' => $this->_mimepart->getType())); $handled = true; $url = Horde::url($registry->link('calendar/show', array('uid' => $guid))); $msgs[] = array('success', _("The event was updated in your calendar.") . @@ -159,7 +159,7 @@ class IMP_Horde_Mime_Viewer_Itip extends Horde_Mime_Viewer_Driver // Import into calendar. $handled = true; try { - $guid = $registry->call('calendar/import', array('content' => $components[$key], 'contentType' => $this->mime_part->getType())); + $guid = $registry->call('calendar/import', array('content' => $components[$key], 'contentType' => $this->_mimepart->getType())); $url = Horde::url($registry->link('calendar/show', array('uid' => $guid))); $msgs[] = array('success', _("The event was added to your calendar.") . ' ' . Horde::link($url, _("View event"), null, '_blank') . Horde::img('mime/icalendar.png', _("View event"), null, $registry->getImageDir('horde')) . ''); @@ -190,7 +190,7 @@ class IMP_Horde_Mime_Viewer_Itip extends Horde_Mime_Viewer_Driver // Import into Nag. if ($registry->hasMethod('tasks/import')) { try { - $guid = $registry->call('tasks/import', array($components[$key], $this->mime_part->getType())); + $guid = $registry->call('tasks/import', array($components[$key], $this->_mimepart->getType())); $url = Horde::url($registry->link('tasks/show', array('uid' => $guid))); $msgs[] = array('success', _("The task has been added to your tasklist.") . ' ' . Horde::link($url, _("View task"), null, '_blank') . Horde::img('mime/icalendar.png', _("View task"), null, $registry->getImageDir('horde')) . ''); -- 2.11.0