From: Jan Schneider Date: Mon, 5 Oct 2009 17:16:40 +0000 (+0200) Subject: Fix browse(). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=cdd3a283320b87a5ea9aa0ea09a14371f46a9bf3;p=horde.git Fix browse(). --- diff --git a/kronolith/lib/Api.php b/kronolith/lib/Api.php index 1a996ff19..7916d01e4 100644 --- a/kronolith/lib/Api.php +++ b/kronolith/lib/Api.php @@ -224,7 +224,7 @@ class Kronolith_Api extends Horde_Registry_Api if (count($parts) == 3 && array_key_exists($parts[1], Kronolith::listCalendars(false, PERMS_READ))) { // This request is for a specific item within a given calendar. - $event = Kronolith::getCalendar(null, $parts[1])->getEvent($parts[2]); + $event = Kronolith::getDriver(null, $parts[1])->getEvent($parts[2]); if (is_a($event, 'PEAR_Error')) { return $event; }