mirror of
https://github.com/nextcloud/server.git
synced 2026-03-23 10:54:41 -04:00
Insert id for unique user group share rows
This commit is contained in:
parent
b163bd514f
commit
fe7f095b08
1 changed files with 1 additions and 0 deletions
|
|
@ -871,6 +871,7 @@ class Share {
|
|||
// Insert an extra row for the group share if the item or file target is unique for this user
|
||||
if ($itemTarget != $groupItemTarget || (isset($fileSource) && $fileTarget != $groupFileTarget)) {
|
||||
$query->execute(array($itemType, $itemSource, $itemTarget, $parent, self::$shareTypeGroupUserUnique, $uid, $uidOwner, $permissions, time(), $fileSource, $fileTarget));
|
||||
\OC_DB::insertid('*PREFIX*share');
|
||||
}
|
||||
}
|
||||
if ($parentFolder === true) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue