summaryrefslogtreecommitdiff
path: root/src/HTTP_POST_multipart.php
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-05-09 16:36:12 +0000
committeruckelman <uckelman@nomic.net>2010-05-09 16:36:12 +0000
commit6eba2450f16d4efe7a7a80e2f2fe902395de5a4c (patch)
treeec864d83b46cd49e746be853be09fc66b7012957 /src/HTTP_POST_multipart.php
parent0656d0798ddda2eae26ff3f443d7c0240960debd (diff)
Fixed bad function call.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6826 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src/HTTP_POST_multipart.php')
-rw-r--r--src/HTTP_POST_multipart.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTTP_POST_multipart.php b/src/HTTP_POST_multipart.php
index 3c88ef3..06a1d0d 100644
--- a/src/HTTP_POST_multipart.php
+++ b/src/HTTP_POST_multipart.php
@@ -102,7 +102,7 @@ class HTTP_POST_multipart {
$postParts[] = array();
foreach ($parts as $part) {
- if (array_key_exists('filename')) {
+ if (array_key_exists('filename', $part)) {
# this is a file part
$postParts[] = self::buildFilePart($part);
}