parse error
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 8 Sep 2009 17:22:18 +0000 (13:22 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 29 Sep 2009 20:53:51 +0000 (16:53 -0400)
kronolith/lib/Resource/Single.php

index 128da15..63b36f2 100644 (file)
@@ -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());
         }