mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Merge pull request #3294 from rm-yakovenko/issues/3288
Fix: Undefined index: replies_count
This commit is contained in:
commit
018f7e10a3
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