mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
fixed typo breaking curl option
This commit is contained in:
parent
5ec77a3de0
commit
ba4082f51d
1 changed files with 1 additions and 1 deletions
|
@ -2556,7 +2556,7 @@ class curl {
|
||||||
curl_multi_exec($main, $running);
|
curl_multi_exec($main, $running);
|
||||||
} while($running > 0);
|
} while($running > 0);
|
||||||
for ($i = 0; $i < $count; $i++) {
|
for ($i = 0; $i < $count; $i++) {
|
||||||
if (!empty($optins['CURLOPT_RETURNTRANSFER'])) {
|
if (!empty($options['CURLOPT_RETURNTRANSFER'])) {
|
||||||
$results[] = true;
|
$results[] = true;
|
||||||
} else {
|
} else {
|
||||||
$results[] = curl_multi_getcontent($handles[$i]);
|
$results[] = curl_multi_getcontent($handles[$i]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue