diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-09-08 23:09:45 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-09-08 23:09:58 -0400 |
commit | fe7f095b08e765486ff3dda206b46bdb41ab7d31 (patch) | |
tree | ddfcb76f9bd35ddbb9aca046780916a05e267a13 /lib | |
parent | b163bd514f65999cd8aa66262d10ca92dcdf99d1 (diff) | |
download | nextcloud-server-fe7f095b08e765486ff3dda206b46bdb41ab7d31.tar.gz nextcloud-server-fe7f095b08e765486ff3dda206b46bdb41ab7d31.zip |
Insert id for unique user group share rows
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/share.php | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |