fix problem with building the IN query
This commit is contained in:
parent
462fe1e56b
commit
42ed3c6b7e
1 changed files with 1 additions and 1 deletions
|
@ -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."'";
|
||||
|
|
Loading…
Reference in a new issue