Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#2369 branch 'hotfix/re…
Browse files Browse the repository at this point in the history
…move-unused-vars'
  • Loading branch information
Maks3w committed Sep 15, 2012
2 parents cb8f354 + 869831c commit 408f714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ protected function prepareBody()
}

// Encode files
foreach ($this->getRequest()->getFiles()->toArray() as $key => $file) {
foreach ($this->getRequest()->getFiles()->toArray() as $file) {
$fhead = array('Content-Type' => $file['ctype']);
$body .= $this->encodeFormData($boundary, $file['formname'], $file['data'], $file['filename'], $fhead);
}
Expand Down

0 comments on commit 408f714

Please sign in to comment.