mirror of
https://github.com/friendica/friendica
synced 2024-11-10 02:22:55 +00:00
Bugfix: Avoid that Twidere is crashing
This commit is contained in:
parent
3f739d53c8
commit
506f851b23
1 changed files with 5 additions and 3 deletions
|
@ -5913,10 +5913,12 @@ function api_saved_searches_list($type)
|
|||
$result = [];
|
||||
while ($term = $terms->fetch()) {
|
||||
$result[] = [
|
||||
'name' => $term['term'],
|
||||
'query' => $term['term'],
|
||||
'created_at' => api_date(time()),
|
||||
'id' => intval($term['id']),
|
||||
'id_str' => $term['id'],
|
||||
'id' => intval($term['id'])
|
||||
'name' => $term['term'],
|
||||
'position' => null,
|
||||
'query' => $term['term']
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue