From 4cf0c17d18493a19ed670913110146bf62a6b519 Mon Sep 17 00:00:00 2001 From: Aparup Banerjee Date: Tue, 14 May 2013 15:02:24 +0800 Subject: [PATCH] MDL-39664 fixed up is_array test (reverting the whole line basically prior to MDL-39664 changes) --- mdeploy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdeploy.php b/mdeploy.php index e58f16b8864..620053e8046 100644 --- a/mdeploy.php +++ b/mdeploy.php @@ -1112,7 +1112,7 @@ class worker extends singleton_pattern { $this->log('Curl Error.'); return false; - } else if (is_array($this->curlinfo) && (empty($this->curlinfo['http_code']) or ($this->curlinfo['http_code'] != 200))) { + } else if (is_array($this->curlinfo) and (empty($this->curlinfo['http_code']) or ($this->curlinfo['http_code'] != 200))) { $this->log('Curl remote error.'); $this->log(print_r($this->curlinfo,true)); return false;