Skip to content
Snippets Groups Projects
Commit 42ed3c6b authored by Robin Appelman's avatar Robin Appelman
Browse files

fix problem with building the IN query

parent 462fe1e5
No related branches found
No related tags found
No related merge requests found
......@@ -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."'";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment