diff options
author | brantje <brantje@gmail.com> | 2017-01-11 22:43:52 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2017-01-11 22:43:52 +0300 |
commit | d4600833ab4a129e4a9b198bdcae64898ba24752 (patch) | |
tree | 856bb56cd026fc103dc382d03e8a911b88b3eff6 /lib | |
parent | 5f7661659aa3fec1b13c981b994dc402d31ab546 (diff) |
Fix for uploading files
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Service/EncryptService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/EncryptService.php b/lib/Service/EncryptService.php index b0033b4e..31cc3448 100644 --- a/lib/Service/EncryptService.php +++ b/lib/Service/EncryptService.php @@ -372,7 +372,7 @@ class EncryptService { $userKey = ''; $userSuppliedKey = ''; if ($file instanceof File) { - $userSuppliedKey = $file->getFilename(); + $userSuppliedKey = $file->getSize(); $userKey = md5($file->getMimetype()); } |