Prevent overwriting of private link status

This commit is contained in:
Michael Gapczynski 2012-05-10 21:06:45 -04:00
parent 60103d9b94
commit daff3aa667

View file

@ -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;
}
}