diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2016-04-06 21:38:46 +0200 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2016-04-06 21:38:46 +0200 |
commit | c3cd65d7be93c4083a45b79ce3092a3c58b8728a (patch) | |
tree | a118ecbcf6e33df8c4b3a0f9bb40a4db2975694f /framework/Web/UI/ActiveControls/TActiveFileUpload.php | |
parent | 8d257fad74c798aef2d6a6f83551cc4faeb14962 (diff) |
Possibly fix #581
Diffstat (limited to 'framework/Web/UI/ActiveControls/TActiveFileUpload.php')
-rwxr-xr-x | framework/Web/UI/ActiveControls/TActiveFileUpload.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveFileUpload.php b/framework/Web/UI/ActiveControls/TActiveFileUpload.php index 7f11115a..04350411 100755 --- a/framework/Web/UI/ActiveControls/TActiveFileUpload.php +++ b/framework/Web/UI/ActiveControls/TActiveFileUpload.php @@ -101,6 +101,7 @@ class TActiveFileUpload extends TFileUpload implements IActiveControl, ICallback // save the file so that it will persist past the end of this return. $localName = str_replace('\\', '/', tempnam(Prado::getPathOfNamespace($this->getTempPath()),'')); parent::saveAs($localName); + $this->_localName = $localName; $params = new TActiveFileUploadCallbackParams; $params->localName = $localName; |