fixed typo breaking curl option

This commit is contained in:
Petr Skoda 2010-09-17 07:55:44 +00:00
parent 5ec77a3de0
commit ba4082f51d

View file

@ -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]);