]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14654: False is a problem, zero is fine. (merge from 1.9)
authorscyrma <scyrma>
Tue, 6 May 2008 05:00:47 +0000 (05:00 +0000)
committerscyrma <scyrma>
Tue, 6 May 2008 05:00:47 +0000 (05:00 +0000)
mnet/xmlrpc/client.php

index ed92f3f44ab1670744fae5eb73743ee4ae353661..2376e5fe0e5287b5a986a6fc2690845ba0ebb40f 100644 (file)
@@ -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;
         }