kopia lustrzana https://github.com/friendica/friendica
Fix Issue 5252
rodzic
81ac7c33da
commit
5743bb0dae
|
@ -211,9 +211,13 @@ function search_content(App $a) {
|
|||
}
|
||||
dba::close($terms);
|
||||
|
||||
if (!empty($itemids)) {
|
||||
$params = ['order' => ['id' => true]];
|
||||
$items = Item::selectForUser(local_user(), [], ['id' => $itemids], $params);
|
||||
$r = dba::inArray($items);
|
||||
} else {
|
||||
$r = [];
|
||||
}
|
||||
} else {
|
||||
logger("Start fulltext search for '".$search."'", LOGGER_DEBUG);
|
||||
|
||||
|
@ -251,4 +255,3 @@ function search_content(App $a) {
|
|||
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue