From df7ef3a1a48858751f6395d457eb9c5cc953cea2 Mon Sep 17 00:00:00 2001 From: scyrma Date: Tue, 6 May 2008 04:59:17 +0000 Subject: [PATCH] MDL-14654: False is a problem, zero is fine. --- mnet/xmlrpc/client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mnet/xmlrpc/client.php b/mnet/xmlrpc/client.php index 49b1e78f51a..d12f7daef2c 100644 --- a/mnet/xmlrpc/client.php +++ b/mnet/xmlrpc/client.php @@ -192,7 +192,7 @@ class mnet_xmlrpc_client { $this->rawresponse = curl_exec($ch); $timestamp_receive = time(); - if ($this->rawresponse == false) { + if ($this->rawresponse === false) { $this->error[] = curl_errno($ch) .':'. curl_error($ch); return false; }