From 58c53ab88d36fd2d8055bd89f3f02958a37777ab Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 18 Mar 2006 02:25:12 +0000 Subject: [PATCH] Another check for is_array() errors, but now in call_relations() --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index c1b53ad..a2c9c97 100644 --- a/api.php +++ b/api.php @@ -549,7 +549,7 @@ class API */ function call_relations($method) { - if (!in_array($method, $this->dorelations)) + if (!is_array($this->dorelations) OR !in_array($method, $this->dorelations)) { return; } -- 2.43.5