Don't set count to 0
This commit is contained in:
parent
86592daaa1
commit
6020e824a8
|
@ -163,8 +163,6 @@ class Index extends BaseSearch
|
|||
$params = ['order' => ['id' => true], 'group_by' => ['uri-id']];
|
||||
$items = Item::selectForUser(local_user(), [], ['uri-id' => $uriids], $params);
|
||||
$r = Item::inArray($items);
|
||||
} else {
|
||||
$count = 0;
|
||||
}
|
||||
|
||||
if (!DBA::isResult($r)) {
|
||||
|
|
Loading…
Reference in a new issue