sforkowany z mirror/friendica
Don't set count to 0
rodzic
86592daaa1
commit
6020e824a8
|
@ -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)) {
|
||||||
|
|
Ładowanie…
Reference in New Issue