Merge pull request #13283 from AlfredSK/AlfredSK-fix-wsod-creating-report
Fix WSOD when creating a report using PHP8.x
This commit is contained in:
commit
ff092833ae
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ class Create extends BaseModule
|
|||
'$category' => $category,
|
||||
'$rules' => $rules ?? [],
|
||||
'$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