diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-08-17 00:34:02 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-08-17 00:34:02 +0200 |
commit | 42ed3c6b7ecbbd3f60a100d0f065003b5cd83ff9 (patch) | |
tree | 3477ac54b69a13a182f46d02b1440e3c3a0f1357 | |
parent | 462fe1e56b6a50e84ed3c46d46d7f708a9f6e9eb (diff) | |
download | nextcloud-server-42ed3c6b7ecbbd3f60a100d0f065003b5cd83ff9.tar.gz nextcloud-server-42ed3c6b7ecbbd3f60a100d0f065003b5cd83ff9.zip |
fix problem with building the IN query
-rw-r--r-- | apps/files_sharing/lib_share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib_share.php b/apps/files_sharing/lib_share.php index a42fed3e763..a46a48bb264 100644 --- a/apps/files_sharing/lib_share.php +++ b/apps/files_sharing/lib_share.php @@ -112,7 +112,7 @@ class OC_Share { } } else if (isset($uid)) { // TODO Check if this is necessary, only constructor needs it as IN. It would be better for other queries to just return =$uid - $in = "'".$uid."'"; + $in .= "'".$uid."'"; $groups = OC_Group::getUserGroups($uid); foreach ($groups as $group) { $in .= ", '".$uid."@".$group."'"; |