Merge pull request #13283 from AlfredSK/AlfredSK-fix-wsod-creating-report

Fix WSOD when creating a report using PHP8.x
pull/13285/head
Hypolite Petovan 2023-07-15 09:20:45 -04:00 zatwierdzone przez GitHub
commit ff092833ae
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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