diff options
author | uckelman <uckelman@nomic.net> | 2010-05-09 15:25:27 +0000 |
---|---|---|
committer | uckelman <uckelman@nomic.net> | 2010-05-09 15:25:27 +0000 |
commit | ddbb36943699827bd11b0c47a9bded7e7c797dee (patch) | |
tree | 083a15047649b9b8cd77854faadd34edf34c4062 | |
parent | d10781783d3e402a6484a9d5eeec3d8a34676832 (diff) |
Added missing ).
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6810 67b53d14-2c14-4ace-a08f-0dab2b34000c
-rw-r--r-- | src/HTTP_POST_multipart.php | 12 |
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 + ) ) ); |