summaryrefslogtreecommitdiff
path: root/lib/prado/framework/Web/UI/ActiveControls/TActiveFileUpload.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/prado/framework/Web/UI/ActiveControls/TActiveFileUpload.php')
-rwxr-xr-xlib/prado/framework/Web/UI/ActiveControls/TActiveFileUpload.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/prado/framework/Web/UI/ActiveControls/TActiveFileUpload.php b/lib/prado/framework/Web/UI/ActiveControls/TActiveFileUpload.php
index 7f11115..6f051ba 100755
--- a/lib/prado/framework/Web/UI/ActiveControls/TActiveFileUpload.php
+++ b/lib/prado/framework/Web/UI/ActiveControls/TActiveFileUpload.php
@@ -102,6 +102,8 @@ class TActiveFileUpload extends TFileUpload implements IActiveControl, ICallback
$localName = str_replace('\\', '/', tempnam(Prado::getPathOfNamespace($this->getTempPath()),''));
parent::saveAs($localName);
+ $this->_localName = $localName;
+
$params = new TActiveFileUploadCallbackParams;
$params->localName = $localName;
$params->fileName = addslashes($this->getFileName());