mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-39664' of git://github.com/nebgor/moodle
This commit is contained in:
commit
5a378479a0
@ -1112,7 +1112,7 @@ class worker extends singleton_pattern {
|
||||
$this->log('Curl Error.');
|
||||
return false;
|
||||
|
||||
} else if (is_array($this->curlinfo) && (empty($this->curlinfo['http_code']) or ($this->curlinfo['http_code'] != 200))) {
|
||||
} else if (is_array($this->curlinfo) and (empty($this->curlinfo['http_code']) or ($this->curlinfo['http_code'] != 200))) {
|
||||
$this->log('Curl remote error.');
|
||||
$this->log(print_r($this->curlinfo,true));
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user