summaryrefslogtreecommitdiff
path: root/src/HTTP_POST_multipart.php
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-05-09 15:25:27 +0000
committeruckelman <uckelman@nomic.net>2010-05-09 15:25:27 +0000
commitddbb36943699827bd11b0c47a9bded7e7c797dee (patch)
tree083a15047649b9b8cd77854faadd34edf34c4062 /src/HTTP_POST_multipart.php
parentd10781783d3e402a6484a9d5eeec3d8a34676832 (diff)
Added missing ).
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6810 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src/HTTP_POST_multipart.php')
-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
+ )
)
);