mirror of
https://github.com/friendica/friendica
synced 2025-04-24 11:10:18 +00:00
Fix exceptions in the channel check
This commit is contained in:
parent
c649230982
commit
3f971f6dec
3 changed files with 7 additions and 5 deletions
|
@ -76,7 +76,7 @@ class Reports extends BaseModeration
|
|||
while ($post = $this->database->fetch($posts)) {
|
||||
if (in_array($post['rid'], array_keys($reports))) {
|
||||
$post['created'] = DateTimeFormat::local($post['created'], DateTimeFormat::MYSQL);
|
||||
$post['body'] = BBCode::toPlaintext($post['body']);
|
||||
$post['body'] = BBCode::toPlaintext($post['body'] ?? '');
|
||||
|
||||
$reports[$post['rid']]['posts'][] = $post;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue