Permalink
Browse files

MDL-39664 fixed up is_array test (reverting the whole line basically …

…prior to MDL-39664 changes)
  • Loading branch information...
1 parent c713414 commit 4cf0c17d18493a19ed670913110146bf62a6b519 @nebgor nebgor committed May 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mdeploy.php
View
@@ -1112,7 +1112,7 @@ protected function download_file($source, $target) {
$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;

0 comments on commit 4cf0c17

Please sign in to comment.