Merge branch 'MDL-38268-master' of https://github.com/jfilip/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2013-03-13 01:14:03 +01:00
+2 -1
View File
@@ -1290,7 +1290,8 @@ function download_file_content($url, $headers=null, $postdata=null, $fullrespons
//reinstate affected curl options
curl_setopt_array ($ch, array(
CURLOPT_RETURNTRANSFER => true,
CURLOPT_NOBODY => false)
CURLOPT_NOBODY => false,
CURLOPT_HTTPGET => true)
);
}