fix problem with building the IN query

remotes/origin/stable
Robin Appelman 14 years ago
parent 462fe1e56b
commit 42ed3c6b7e
  1. 2
      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."'";

Loading…
Cancel
Save