Don't set count to 0

2022.09-rc
Michael 2020-09-19 12:07:17 +00:00
rodzic 86592daaa1
commit 6020e824a8
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -163,8 +163,6 @@ class Index extends BaseSearch
$params = ['order' => ['id' => true], 'group_by' => ['uri-id']]; $params = ['order' => ['id' => true], 'group_by' => ['uri-id']];
$items = Item::selectForUser(local_user(), [], ['uri-id' => $uriids], $params); $items = Item::selectForUser(local_user(), [], ['uri-id' => $uriids], $params);
$r = Item::inArray($items); $r = Item::inArray($items);
} else {
$count = 0;
} }
if (!DBA::isResult($r)) { if (!DBA::isResult($r)) {