mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
#3288 Fix: Undefined index: replies_count
https://github.com/pixelfed/pixelfed/issues/3288
This commit is contained in:
parent
7fa9e5802b
commit
72da667305
1 changed files with 2 additions and 1 deletions
|
@ -47,11 +47,12 @@ class StatusService
|
|||
return null;
|
||||
}
|
||||
|
||||
$status['replies_count'] = $status['reply_count'];
|
||||
|
||||
if(config('exp.emc') == false) {
|
||||
return $status;
|
||||
}
|
||||
|
||||
$status['replies_count'] = $status['reply_count'];
|
||||
unset(
|
||||
$status['_v'],
|
||||
$status['comments_disabled'],
|
||||
|
|
Loading…
Reference in a new issue