mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-14654: False is a problem, zero is fine. (merge from 1.9)
This commit is contained in:
parent
cfd82e2b5f
commit
2c797a470a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user