MDL-14654: False is a problem, zero is fine. (merge from 1.9)

This commit is contained in:
scyrma 2008-05-06 05:00:47 +00:00
parent cfd82e2b5f
commit 2c797a470a

View 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;
}