Make sure the share we found is for the same item
This commit is contained in:
parent
f4885f6da3
commit
8de0773214
1 changed files with 1 additions and 1 deletions
|
@ -2070,7 +2070,7 @@ class Share extends Constants {
|
|||
|
||||
$userShareType = ($isGroupShare) ? self::$shareTypeGroupUserUnique : $shareType;
|
||||
|
||||
if ($sourceExists) {
|
||||
if ($sourceExists && $sourceExists['item_source'] === $itemSource) {
|
||||
$fileTarget = $sourceExists['file_target'];
|
||||
$itemTarget = $sourceExists['item_target'];
|
||||
|
||||
|
|
Loading…
Reference in a new issue