Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6 from phargo/master

2 commits
  • Loading branch information...
commit 357e846f05363b603b9465f075c5612bb30acdb4 2 parents 3bac23f + 7faff59
@tonydspaniard authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 extensions/EHttpClient/EHttpClient.php
View
4 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]);
}
Please sign in to comment.
Something went wrong with that request. Please try again.