fix problem with building the IN query

This commit is contained in:
Robin Appelman 2011-08-17 00:34:02 +02:00
parent 462fe1e56b
commit 42ed3c6b7e
1 changed files with 1 additions and 1 deletions

View File

@ -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."'";