1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

Fix multi-report bug #567

This commit is contained in:
RealAngeleno 2023-07-28 14:32:42 -04:00 committed by GitHub
parent 3b659732d6
commit aa0f6607cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2288,7 +2288,7 @@ function mod_reports() {
$reports = $query->fetchAll(PDO::FETCH_ASSOC);
$report_queries = array();
foreach ($reports as &$report) {
foreach ($reports as $report) {
if (!isset($report_queries[$report['board']]))
$report_queries[$report['board']] = array();
$report_queries[$report['board']][] = $report['post'];