Fix WSOD when creating a report using PHP8.x
Fixes https://github.com/friendica/friendica/issues/13277
This commit is contained in:
parent
4a645bec27
commit
8b5a49fb5c
|
@ -338,7 +338,7 @@ class Create extends BaseModule
|
||||||
'$category' => $category,
|
'$category' => $category,
|
||||||
'$rules' => $rules ?? [],
|
'$rules' => $rules ?? [],
|
||||||
'$comment' => BBCode::convert($this->session->get('report_comment') ?? '', false, ),
|
'$comment' => BBCode::convert($this->session->get('report_comment') ?? '', false, ),
|
||||||
'$posts' => count($request['uri-ids']),
|
'$posts' => count($request['uri-ids'] ?? []),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue