From 8f4cfce710de9db14291cb891aba772c3a0722d1 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 18 Mar 2006 02:24:12 +0000 Subject: [PATCH] We need an additional check for set_condition() so we don't get weird errors --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index 748763b..c1b53ad 100644 --- a/api.php +++ b/api.php @@ -300,7 +300,7 @@ class API */ function set_condition($condition = '') { - if (sizeof($condition) > 0) + if (is_array($condition) AND sizeof($condition) > 0) { $this->condition = ''; -- 2.43.5