MDL-14654: False is a problem, zero is fine.

This commit is contained in:
scyrma
2008-05-06 04:59:17 +00:00
parent 0d9a6ca147
commit df7ef3a1a4
+1 -1
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;
}