summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-02-27 19:50:16 +0100
committerVincent Petry <pvince81@owncloud.com>2014-02-27 23:53:29 +0100
commitfefd7248585e2831adfb1ae9d40c49e94529e36d (patch)
tree5997360af548f6e0342d8c4657b5a62a728e454e
parent93b8aba3a174beed499ffe96d6b1c74e96775052 (diff)
downloadnextcloud-server-fefd7248585e2831adfb1ae9d40c49e94529e36d.tar.gz
nextcloud-server-fefd7248585e2831adfb1ae9d40c49e94529e36d.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
-rw-r--r--apps/files_encryption/lib/proxy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php
index 9d456f6c517..6b1e4b7745b 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]);
}