From 62ca84c277915c8b9065f347988d14bf819aecae Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 8 Sep 2009 13:22:18 -0400 Subject: [PATCH] parse error --- kronolith/lib/Resource/Single.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- 2.11.0