Merge pull request #3294 from rm-yakovenko/issues/3288

Fix: Undefined index: replies_count
pull/3296/head
daniel 2022-03-08 21:05:48 -07:00 zatwierdzone przez GitHub
commit 018f7e10a3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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'],