Merge branch 'MDL-65409-37' of git://github.com/mihailges/moodle into MOODLE_37_STABLE
This commit is contained in:
@@ -124,7 +124,7 @@ class converter implements \core_files\converter_interface {
|
||||
$uploadurl;
|
||||
// Google returns a location header with the location for the upload.
|
||||
foreach ($headers as $header) {
|
||||
if (strpos($header, 'Location:') === 0) {
|
||||
if (stripos($header, 'Location:') === 0) {
|
||||
$uploadurl = trim(substr($header, strpos($header, ':') + 1));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user