1
1
Fork 0

Fix WSOD when creating a report using PHP8.x

Fixes https://github.com/friendica/friendica/issues/13277
This commit is contained in:
Steffen K9 2023-07-15 14:41:29 +02:00 committed by GitHub
parent 4a645bec27
commit 8b5a49fb5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'] ?? []),
]);
}
}