From: Bjoern Schiessle Date: Mon, 14 Oct 2013 14:43:18 +0000 (+0200) Subject: fix array key X-Git-Tag: v6.0.0beta2~107^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=58196304b8cafa2762f9662c188bc4eed2c11651;p=nextcloud-server.git fix array key --- diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php index f8d10bdcd8b..042becb32e3 100644 --- a/apps/files_encryption/lib/proxy.php +++ b/apps/files_encryption/lib/proxy.php @@ -348,7 +348,7 @@ class Proxy extends \OC_FileProxy { // if file is encrypted return real file size if (is_array($fileInfo) && $fileInfo['encrypted'] === true) { // try to fix unencrypted file size if it doesn't look plausible - if ((int)$fileInfo['size'] > 0 && (int)$fileInfo['encrypted_size'] === 0) { + if ((int)$fileInfo['size'] > 0 && (int)$fileInfo['unencrypted_size'] === 0) { $fixSize = $util->getFileSize($path); $fileInfo['unencrypted_size'] = $fixSize; // put file info if not .part file