diff options
author | jknockaert <jasper@knockaert.nl> | 2015-05-18 15:06:55 +0200 |
---|---|---|
committer | jknockaert <jasper@knockaert.nl> | 2015-05-18 15:06:55 +0200 |
commit | 2834971a779200bd0afba4f103d86ff755e71458 (patch) | |
tree | bcedafb10925601a52eff6f518d2c87ccc7605d6 /lib | |
parent | a1e60e78823d0f00681db0a6dc62a5a157b302f4 (diff) | |
download | nextcloud-server-2834971a779200bd0afba4f103d86ff755e71458.tar.gz nextcloud-server-2834971a779200bd0afba4f103d86ff755e71458.zip |
fix #16356
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/stream/encryption.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php index e423868d82b..f2f5b9c9af7 100644 --- a/lib/private/files/stream/encryption.php +++ b/lib/private/files/stream/encryption.php @@ -341,8 +341,8 @@ class Encryption extends Wrapper { } else { $data = ''; } + $this->unencryptedSize = max($this->unencryptedSize, $this->position); } - $this->unencryptedSize = max($this->unencryptedSize, $this->position); return $length; } |