diff options
author | ctrlaltca <> | 2012-11-14 09:36:03 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-11-14 09:36:03 +0000 |
commit | c08f140071ec5f7397e1cf9e44e2d26c5b95b868 (patch) | |
tree | 7bca11f2899b36a2e79f3c114a7b9dfa4f1b7930 /framework/Web | |
parent | fbaf4273a46828702ef1428f42e5721720d727f6 (diff) |
fix #427
Diffstat (limited to 'framework/Web')
-rwxr-xr-x | framework/Web/UI/ActiveControls/TActiveFileUpload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveFileUpload.php b/framework/Web/UI/ActiveControls/TActiveFileUpload.php index ca924026..6c6d4bd1 100755 --- a/framework/Web/UI/ActiveControls/TActiveFileUpload.php +++ b/framework/Web/UI/ActiveControls/TActiveFileUpload.php @@ -276,7 +276,7 @@ EOS; // tricky workaround to intercept "uploaded file too big" error: real uploads happens in onFileUpload instead $this->_errorCode = UPLOAD_ERR_FORM_SIZE; $localName = str_replace('\\', '/', tempnam(Prado::getPathOfNamespace($this->getTempPath()),'')); - $filename = addslashes($this->getFileName()); + $fileName = addslashes($this->getFileName()); $params = new TActiveFileUploadCallbackParams; $params->localName = $localName; |