From c3cd65d7be93c4083a45b79ce3092a3c58b8728a Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Wed, 6 Apr 2016 21:38:46 +0200 Subject: Possibly fix #581 --- framework/Web/UI/ActiveControls/TActiveFileUpload.php | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/Web/UI/ActiveControls') 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; -- cgit v1.2.3