From fe7f095b08e765486ff3dda206b46bdb41ab7d31 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Sat, 8 Sep 2012 23:09:45 -0400 Subject: [PATCH] Insert id for unique user group share rows --- lib/public/share.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/public/share.php b/lib/public/share.php index 87144735a68..94644d0b657 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -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) { -- 2.39.5