Skip to content
Snippets Groups Projects
Commit daff3aa6 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Prevent overwriting of private link status

parent 60103d9b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment