Commit 982c9018 authored by Jonny Barnes's avatar Jonny Barnes

CURLOPT_HEADER = 0 already removes HTTP Headers from the response, so theres...

CURLOPT_HEADER = 0 already removes HTTP Headers from the response, so theres no need to manually remove them
parent 5a909d11
......@@ -78,8 +78,7 @@ function fetch($url, $convertClassic = true, &$curlInfo=null) {
return null;
}
$html = mb_substr($response, $info['header_size']);
return parse($html, $url, $convertClassic);
return parse($response, $url, $convertClassic);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment