typo
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 20 May 2010 04:41:18 +0000 (00:41 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 20 May 2010 04:41:18 +0000 (00:41 -0400)
nag/lib/Api.php

index aa3eee7..0d25b83 100644 (file)
@@ -1382,7 +1382,7 @@ class Nag_Api extends Horde_Registry_Api
         $tasklists = is_null($user) ? array_keys($GLOBALS['nag_shares']->listAllShares()) :  $GLOBALS['display_tasklists'];
 
         $alarms = Nag::listAlarms($time, $tasklists);
-        if (is_a($alarms instanceof PEAR_Error) {
+        if ($alarms instanceof PEAR_Error) {
             return $alarms;
         }