From: Michael J. Rubinsky Date: Wed, 9 Sep 2009 19:30:28 +0000 (-0400) Subject: use Kronolith::getInternalCalendar() here as well X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e6b967bde6ef65d16d9bbe6b94c9c7347473b868;p=horde.git use Kronolith::getInternalCalendar() here as well --- 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() &&