diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-02-06 16:01:42 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-02-07 15:26:21 +0100 |
commit | 9c9b161f5116ba37d67620628965f9d42bb7120e (patch) | |
tree | ea5264575b7d9ec9aa0ebc76e5491c2fd9195a6b /lib | |
parent | 9b257ad8628d8addcfec831ecaa761f28d453fd4 (diff) | |
download | nextcloud-server-9c9b161f5116ba37d67620628965f9d42bb7120e.tar.gz nextcloud-server-9c9b161f5116ba37d67620628965f9d42bb7120e.zip |
replace 'size' with 'unencrypted_size' if encryption is enabled
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/share.php b/lib/public/share.php index f832d04a70f..ae7d29e8b87 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -1152,7 +1152,7 @@ class Share { $select = '`*PREFIX*share`.`id`, `item_type`, `item_source`, `*PREFIX*share`.`parent`, `uid_owner`, ' .'`share_type`, `share_with`, `file_source`, `path`, `file_target`, ' .'`permissions`, `expiration`, `storage`, `*PREFIX*filecache`.`parent` as `file_parent`, ' - .'`name`, `mtime`, `mimetype`, `mimepart`, `size`, `encrypted`, `etag`, `mail_send`'; + .'`name`, `mtime`, `mimetype`, `mimepart`, `size`, `unencrypted_size`, `encrypted`, `etag`, `mail_send`'; } else { $select = '`*PREFIX*share`.`id`, `item_type`, `item_source`, `item_target`, `*PREFIX*share`.`parent`, `share_type`, `share_with`, `uid_owner`, |