Fix - "Correct checking item source for share from same owner when generating item target"
This commit is contained in:
parent
5eaf95eedd
commit
5f462ec6f7
1 changed files with 8 additions and 2 deletions
|
@ -1015,8 +1015,14 @@ class Share {
|
|||
continue;
|
||||
}
|
||||
}
|
||||
if ($item['uid_owner'] == $uidOwner && $item[$columnSource] == $itemSource) {
|
||||
return $target;
|
||||
if ($item['uid_owner'] == $uidOwner) {
|
||||
if ($itemType == 'file' || $itemType == 'folder') {
|
||||
if ($item['file_source'] == \OC_FileCache::getId($itemSource)) {
|
||||
return $target;
|
||||
}
|
||||
} else if ($item['item_source'] == $itemSource) {
|
||||
return $target;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!isset($exclude)) {
|
||||
|
|
Loading…
Reference in a new issue