summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/HTTP_POST_multipart.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/HTTP_POST_multipart.php b/src/HTTP_POST_multipart.php
index 8f11d9f..3c88ef3 100644
--- a/src/HTTP_POST_multipart.php
+++ b/src/HTTP_POST_multipart.php
@@ -125,11 +125,13 @@ class HTTP_POST_multipart {
list($boundary, $content) = buildPost($this->_parts);
$ctype = 'Content-Type: multipart/form-data; boundary="' . $boundary . '"';
- $ctx = stream_context_create(array(
- 'http' => array(
- 'method' => 'POST',
- 'header' => $ctype,
- 'content' => $content
+ $ctx = stream_context_create(
+ array('http' =>
+ array(
+ 'method' => 'POST',
+ 'header' => $ctype,
+ 'content' => $content
+ )
)
);