aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjknockaert <jasper@knockaert.nl>2015-05-18 15:06:55 +0200
committerjknockaert <jasper@knockaert.nl>2015-05-18 15:06:55 +0200
commit2834971a779200bd0afba4f103d86ff755e71458 (patch)
treebcedafb10925601a52eff6f518d2c87ccc7605d6 /lib
parenta1e60e78823d0f00681db0a6dc62a5a157b302f4 (diff)
downloadnextcloud-server-2834971a779200bd0afba4f103d86ff755e71458.tar.gz
nextcloud-server-2834971a779200bd0afba4f103d86ff755e71458.zip
fix #16356
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/stream/encryption.php2
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;
}