From 2c797a470a9bddd0b2906bd39eea5016830b1671 Mon Sep 17 00:00:00 2001 From: scyrma Date: Tue, 6 May 2008 05:00:47 +0000 Subject: [PATCH] MDL-14654: False is a problem, zero is fine. (merge from 1.9) --- 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 ed92f3f44a..2376e5fe0e 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; } -- 2.39.5