Don't set count to 0

This commit is contained in:
Michael 2020-09-19 12:07:17 +00:00
parent 86592daaa1
commit 6020e824a8

View File

@ -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)) {