Remove break, it broke the statuses :)
This commit is contained in:
parent
8d01e1a355
commit
9e4c3b8342
1 changed files with 0 additions and 1 deletions
|
@ -538,7 +538,6 @@ class Share {
|
|||
foreach ($items as $item) {
|
||||
if ($item['share_type'] == self::SHARE_TYPE_PRIVATE_LINK) {
|
||||
$statuses[$item['item']] = true;
|
||||
break;
|
||||
} else if (!isset($statuses[$item['item']])) {
|
||||
$statuses[$item['item']] = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue