Skip to content
Snippets Groups Projects
Commit 8be977b5 authored by Uma's avatar Uma
Browse files

Fixes #1511 fetch filedetails for webservice requests

parent 39c36ac4
No related branches found
No related tags found
No related merge requests found
......@@ -1291,7 +1291,7 @@ function vtws_filedetails($fileData){
$fileName = $fileData['name'];
$fileType = $fileData['type'];
$fileName = html_entity_decode($fileName, ENT_QUOTES, vglobal('default_charset'));
$filenamewithpath = $fileData['path'].'_'.$fileData['encName'];
$filenamewithpath = $fileData['path'].$fileData['attachmentsid'].'_'.$fileData['storedname'];
$filesize = filesize($filenamewithpath);
$fileDetails['fileid'] = $fileData['attachmentsid'];
$fileDetails['filename'] = $fileName;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment