diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-02-27 19:50:16 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-02-27 19:50:16 +0100 |
commit | 4756d18a14e3fe800b742b2d650e94ea7ded36d6 (patch) | |
tree | b0400f0a6656863224766ea912dcf42e8ff9c1bd /apps/files_encryption | |
parent | b4f154f9b4e76ac237c66705ffb9b5ab976352ee (diff) | |
download | nextcloud-server-4756d18a14e3fe800b742b2d650e94ea7ded36d6.tar.gz nextcloud-server-4756d18a14e3fe800b742b2d650e94ea7ded36d6.zip |
Fixed wrong field name
This re-fixes an issue where the unencrypted size isn't updated
correctly when saving a text file in the UI multiple times.
Fixes #7467
Diffstat (limited to 'apps/files_encryption')
-rw-r--r-- | apps/files_encryption/lib/proxy.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php index 11048005969..b5bbe38952d 100644 --- a/apps/files_encryption/lib/proxy.php +++ b/apps/files_encryption/lib/proxy.php @@ -146,7 +146,7 @@ class Proxy extends \OC_FileProxy { if ( isset(self::$unencryptedSizes[$normalizedPath]) ) { $view = new \OC_FilesystemView('/'); $view->putFileInfo($normalizedPath, - array('encrypted' => true, 'encrypted_size' => self::$unencryptedSizes[$normalizedPath])); + array('encrypted' => true, 'unencrypted_size' => self::$unencryptedSizes[$normalizedPath])); unset(self::$unencryptedSizes[$normalizedPath]); } |