https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
86592da
)
Don't set count to 0
author
Michael
<heluecht@pirati.ca>
Sat, 19 Sep 2020 12:07:17 +0000
(12:07 +0000)
committer
Michael
<heluecht@pirati.ca>
Sat, 19 Sep 2020 12:07:17 +0000
(12:07 +0000)
src/Module/Search/Index.php
patch
|
blob
|
history
diff --git
a/src/Module/Search/Index.php
b/src/Module/Search/Index.php
index
42d1d50
..
debaec7
100644
(file)
--- a/
src/Module/Search/Index.php
+++ b/
src/Module/Search/Index.php
@@
-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)) {