diff --git a/apps/files/ajax/upload.php b/apps/files/ajax/upload.php index b9eea2fea624fb8a720985e5f26c1295ecb64c3c..e1263744e1b454680347ab672f201c247701487e 100644 --- a/apps/files/ajax/upload.php +++ b/apps/files/ajax/upload.php @@ -71,6 +71,7 @@ if (strpos($dir, '..') === false) { 'size' => $meta['size'], 'id' => $meta['fileid'], 'name' => basename($target), + 'originalname'=>$files['name'][$i], 'uploadMaxFilesize' => $maxUploadFilesize, 'maxHumanFilesize' => $maxHumanFilesize );