Prevent overwriting of private link status
This commit is contained in:
parent
60103d9b94
commit
daff3aa667
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ if ($rows = OC_Share::getMySharedItems()) {
|
|||
$item = substr($source, $dirLength);
|
||||
if ($rows[$i]['uid_shared_with'] == OC_Share::PUBLICLINK) {
|
||||
$items[$item] = true;
|
||||
} else {
|
||||
} else if (!isset($items[$item])) {
|
||||
$items[$item] = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue