Skip to content

Commit

Permalink
Merge pull request #6 from phargo/master
Browse files Browse the repository at this point in the history
2 commits
  • Loading branch information
Antonio Ramirez committed Jun 27, 2012
2 parents 3bac23f + 7faff59 commit 357e846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/EHttpClient/EHttpClient.php
Expand Up @@ -1074,7 +1074,7 @@ public function request($method = null)
} else } else
{ {


throw new Zend_Http_Client_Exception('Adapter does not support streaming'); throw new EHttpClientException(Yii::t('EHttpClient', 'Adapter does not support streaming'));
} }
} }


Expand Down Expand Up @@ -1340,7 +1340,7 @@ protected function _prepareBody()
if (is_array($this->paramsPost[$fieldName])) if (is_array($this->paramsPost[$fieldName]))
{ {
$flattened = self::_flattenParametersArray($this->paramsPost[$fieldName], $fieldName); $flattened = self::_flattenParametersArray($this->paramsPost[$fieldName], $fieldName);
foreach ($flatted as $pp) foreach ($flattened as $pp)
{ {
$body .= self::encodeFormData($boundary, $pp[0], $pp[1]); $body .= self::encodeFormData($boundary, $pp[0], $pp[1]);
} }
Expand Down

0 comments on commit 357e846

Please sign in to comment.