From ddbb36943699827bd11b0c47a9bded7e7c797dee Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 9 May 2010 15:25:27 +0000 Subject: Added missing ). git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6810 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/HTTP_POST_multipart.php | 12 +++++++----- 1 file 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 + ) ) ); -- cgit v1.2.3