Prevent overwriting of private link status

remotes/origin/stable4
Michael Gapczynski 13 years ago
parent 60103d9b94
commit daff3aa667
  1. 2
      apps/files_sharing/ajax/getstatuses.php

@ -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…
Cancel
Save