From e6b967bde6ef65d16d9bbe6b94c9c7347473b868 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 9 Sep 2009 15:30:28 -0400 Subject: [PATCH] use Kronolith::getInternalCalendar() here as well --- kronolith/add.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kronolith/add.php b/kronolith/add.php index 1baf4065d..5b3f5e90f 100644 --- a/kronolith/add.php +++ b/kronolith/add.php @@ -16,7 +16,7 @@ if (!Horde_Util::getFormData('cancel')) { $calendar_id = $targetcalendar; $user = Horde_Auth::getAuth(); } - $share = &$kronolith_shares->getShare($calendar_id); + $share = Kronolith::getInternalCalendar($calendar_id); if (is_a($share, 'PEAR_Error')) { $notification->push(sprintf(_("There was an error accessing the calendar: %s"), $share->getMessage()), 'horde.error'); } elseif ($user != Horde_Auth::getAuth() && -- 2.11.0