From abcbbe1d6f6fb57275358e905d4a00f21c4953d9 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 20 May 2010 00:41:18 -0400 Subject: [PATCH] typo --- nag/lib/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nag/lib/Api.php b/nag/lib/Api.php index aa3eee77d..0d25b83f8 100644 --- a/nag/lib/Api.php +++ b/nag/lib/Api.php @@ -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; } -- 2.11.0