From 6eba2450f16d4efe7a7a80e2f2fe902395de5a4c Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 9 May 2010 16:36:12 +0000 Subject: Fixed bad function call. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6826 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/HTTP_POST_multipart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3