summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2011-08-16 20:21:57 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2011-08-16 20:21:57 -0400
commit0edce1796b1607dd349f7b1b70fa56aa2e792266 (patch)
treef93b1873dc32443a189d7114eac448bedf767322 /apps/files_sharing
parent582dca4d91186723a142c29a344be5c6d060061e (diff)
parent42ed3c6b7ecbbd3f60a100d0f065003b5cd83ff9 (diff)
downloadnextcloud-server-0edce1796b1607dd349f7b1b70fa56aa2e792266.tar.gz
nextcloud-server-0edce1796b1607dd349f7b1b70fa56aa2e792266.zip
Merge branch 'sharing' of git://anongit.kde.org/owncloud into sharing
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib_share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib_share.php b/apps/files_sharing/lib_share.php
index 1bf60f3b1db..0aae45e54ce 100644
--- a/apps/files_sharing/lib_share.php
+++ b/apps/files_sharing/lib_share.php
@@ -121,7 +121,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."'";