From: Marcel Werk Date: Fri, 10 Feb 2012 19:23:04 +0000 (+0100) Subject: Fixed some small issues X-Git-Tag: 2.0.0_Beta_1~1357 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=357689d9d5ebefa10c0417e24e2b868aa835a5b1;p=GitHub%2FWoltLab%2FWCF.git Fixed some small issues --- diff --git a/wcfsetup/install/files/lib/action/AJAXUploadAction.class.php b/wcfsetup/install/files/lib/action/AJAXUploadAction.class.php index fdcb541a8b..0d4582aea3 100644 --- a/wcfsetup/install/files/lib/action/AJAXUploadAction.class.php +++ b/wcfsetup/install/files/lib/action/AJAXUploadAction.class.php @@ -1,6 +1,6 @@ files[] = new UploadFile($rawFileData['name'][$i], $rawFileData['tmp_name'][$i], $rawFileData['filesize'][$i], $rawFileData['error'][$i], $rawFileData['type'][$i]); + $this->files[] = new UploadFile($rawFileData['name'][$i], $rawFileData['tmp_name'][$i], $rawFileData['size'][$i], $rawFileData['error'][$i], $rawFileData['type'][$i]); } } else { - $this->files[] = new UploadFile($rawFileData['name'], $rawFileData['tmp_name'], $rawFileData['filesize'], $rawFileData['error'], $rawFileData['type']); + $this->files[] = new UploadFile($rawFileData['name'], $rawFileData['tmp_name'], $rawFileData['size'], $rawFileData['error'], $rawFileData['type']); } }