mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-01 18:53:16 +00:00
Update StatusService, fix missing account condition
This commit is contained in:
parent
db2da84bec
commit
f48daab37e
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,10 @@ class StatusService
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!isset($status['account'])) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
$status['replies_count'] = $status['reply_count'];
|
$status['replies_count'] = $status['reply_count'];
|
||||||
|
|
||||||
if(config('exp.emc') == false) {
|
if(config('exp.emc') == false) {
|
||||||
|
|
Loading…
Reference in a new issue