From 6355c02d7595082a4ea6bf0e151ddfb517a0f25e Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 6 Apr 2016 10:45:40 +0200 Subject: https://github.com/pradosoft/prado/issues/581 --- lib/prado/framework/Web/UI/ActiveControls/TActiveFileUpload.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/prado/framework/Web/UI/ActiveControls/TActiveFileUpload.php') 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()); -- cgit v1.2.3