diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-03-21 12:28:27 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-03-21 12:28:27 +0100 |
commit | 37af74efb3e3511b2d6eacef67dc90f22a685bd3 (patch) | |
tree | 74fbfd647b2885912e61e7e3ddd7c974e08fb40d /apps/files_encryption | |
parent | a52bc333a265444d3a038f08bb70231127b2c9bf (diff) | |
parent | 022d76c7bb999058803c6f0c41749672e681fab8 (diff) | |
download | nextcloud-server-37af74efb3e3511b2d6eacef67dc90f22a685bd3.tar.gz nextcloud-server-37af74efb3e3511b2d6eacef67dc90f22a685bd3.zip |
Merge pull request #7655 from owncloud/shared-unencryptedsize
Fixed warning when browsing Shared folder
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 b7e1599c1fe..bae1fded53d 100644 --- a/apps/files_encryption/lib/proxy.php +++ b/apps/files_encryption/lib/proxy.php @@ -344,7 +344,7 @@ class Proxy extends \OC_FileProxy { \OC_FileProxy::$enabled = false; $fileInfo = $view->getFileInfo($path); \OC_FileProxy::$enabled = $proxyState; - if ($fileInfo['unencrypted_size'] > 0) { + if (isset($fileInfo['unencrypted_size']) && $fileInfo['unencrypted_size'] > 0) { return $fileInfo['unencrypted_size']; } return $size; |