Permalink
Browse files
Merge pull request #6 from phargo/master
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+2
−2
extensions/EHttpClient/EHttpClient.php
|
@@ -1074,7 +1074,7 @@ public function request($method = null) |
|
|
} else
|
|
|
{
|
|
|
|
|
|
- throw new Zend_Http_Client_Exception('Adapter does not support streaming');
|
|
|
+ throw new EHttpClientException(Yii::t('EHttpClient', 'Adapter does not support streaming'));
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1340,7 +1340,7 @@ protected function _prepareBody() |
|
|
if (is_array($this->paramsPost[$fieldName]))
|
|
|
{
|
|
|
$flattened = self::_flattenParametersArray($this->paramsPost[$fieldName], $fieldName);
|
|
|
- foreach ($flatted as $pp)
|
|
|
+ foreach ($flattened as $pp)
|
|
|
{
|
|
|
$body .= self::encodeFormData($boundary, $pp[0], $pp[1]);
|
|
|
}
|
|
|
0 comments on commit
357e846