Browse Source

Don't set count to 0

tags/2020.09
Michael 1 month ago
parent
commit
6020e824a8
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      src/Module/Search/Index.php

+ 0
- 2
src/Module/Search/Index.php 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)) {


Loading…
Cancel
Save