From: Michael J. Rubinsky Date: Tue, 8 Sep 2009 17:22:18 +0000 (-0400) Subject: parse error X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=62ca84c277915c8b9065f347988d14bf819aecae;p=horde.git parse error --- diff --git a/kronolith/lib/Resource/Single.php b/kronolith/lib/Resource/Single.php index 128da151b..63b36f261 100644 --- a/kronolith/lib/Resource/Single.php +++ b/kronolith/lib/Resource/Single.php @@ -29,7 +29,7 @@ class Kronolith_Resource_Single extends Kronolith_Resource_Base /* Fetch events. */ $busy = Kronolith::listEvents($event->start, $event->end, array($this->calendar)); - if ($busy instanceof 'PEAR_Error')) { + if ($busy instanceof PEAR_Error) { throw new Horde_Exception($busy->getMessage()); }