mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +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;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$status['replies_count'] = $status['reply_count'];
|
||||||
|
|
||||||
if(config('exp.emc') == false) {
|
if(config('exp.emc') == false) {
|
||||||
return $status;
|
return $status;
|
||||||
}
|
}
|
||||||
|
|
||||||
$status['replies_count'] = $status['reply_count'];
|
|
||||||
unset(
|
unset(
|
||||||
$status['_v'],
|
$status['_v'],
|
||||||
$status['comments_disabled'],
|
$status['comments_disabled'],
|
||||||
|
|
Loading…
Reference in a new issue