changeset 837:fc042c32b38d

Use correct request item name.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 25 Nov 2014 20:13:46 +0200
parents 83ac4155efe2
children 4fcab270a3f9
files msite.inc.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/msite.inc.php	Tue Nov 25 20:12:37 2014 +0200
+++ b/msite.inc.php	Tue Nov 25 20:13:46 2014 +0200
@@ -1125,7 +1125,7 @@
   }
 
   // Check file status data
-  $fileEntry = $uploadType."Upload";
+  $fileEntry = $uploadType."ToUpload".$entryID;
   $maxFileSize = stGetSetting($uploadType."MaxSize");
   $fileSize = $_FILES[$fileEntry]["size"];
   if ($fileSize > $maxFileSize)