mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-03-05 03:02:04 +00:00
Update StatusHashtagService, fix null status bug
This commit is contained in:
parent
f215ee26b3
commit
51a277e1ae
1 changed files with 4 additions and 1 deletions
|
@ -30,6 +30,9 @@ class StatusHashtagService {
|
||||||
->map(function ($i, $k) use ($id) {
|
->map(function ($i, $k) use ($id) {
|
||||||
return self::getStatus($i, $id);
|
return self::getStatus($i, $id);
|
||||||
})
|
})
|
||||||
|
->filter(function ($i) {
|
||||||
|
return isset($i['status']) && !empty($i['status']);
|
||||||
|
})
|
||||||
->all();
|
->all();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue