diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-02 17:03:35 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-02 17:03:35 +0200 |
commit | 931e90634e905816e5ec8db3d10f9446c1b1eacc (patch) | |
tree | 70a69b6065adaf25db57530cff05c4e4ff321adb /lib/public/share.php | |
parent | 983da0d78fe13814fb771eb90dd2f10a89e0bcc6 (diff) | |
download | nextcloud-server-931e90634e905816e5ec8db3d10f9446c1b1eacc.tar.gz nextcloud-server-931e90634e905816e5ec8db3d10f9446c1b1eacc.zip |
fix db queries
Diffstat (limited to 'lib/public/share.php')
-rw-r--r-- | lib/public/share.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/share.php b/lib/public/share.php index cb55c5c9756..4461a1d421f 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -1039,10 +1039,10 @@ class Share { if ($itemType == 'file' || $itemType == 'folder') { $select = '`*PREFIX*share`.`id`, `item_type`, `*PREFIX*share`.`parent`,' .' `share_type`, `share_with`, `file_source`, `path`, `permissions`, `stime`,' - .' `expiration`, `token`, `storage`, `storage`, `mail_send`'; + .' `expiration`, `token`, `storage`, `mail_send`'; } else { $select = '`id`, `item_type`, `item_source`, `parent`, `share_type`, `share_with`, `permissions`,' - .' `stime`, `file_source`, `expiration`, `token`, `storage`, `mail_send`'; + .' `stime`, `file_source`, `expiration`, `token`, `mail_send`'; } } else { if ($fileDependent) { |