Commit 6a6c640e authored by Gasol Wu's avatar Gasol Wu

Merge branch 'pecl_support' into mlt_support

parents 294a11d0 823f2b91
...@@ -108,7 +108,7 @@ class Solarium_Client_Adapter_PeclHttp extends Solarium_Client_Adapter ...@@ -108,7 +108,7 @@ class Solarium_Client_Adapter_PeclHttp extends Solarium_Client_Adapter
); );
foreach ($request->getHeaders() as $headerLine) { foreach ($request->getHeaders() as $headerLine) {
list($header, $value) = explode(':', $headerLine); list($header, $value) = explode(':', $headerLine);
if (!$header = trim($header)) { if ($header = trim($header)) {
$options['headers'][$header] = trim($value); $options['headers'][$header] = trim($value);
} }
} }
......
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