1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-09-23 19:18:21 +02:00

Merge pull request #610 from vichan-devel/RealAngeleno-reportfix

Fix multi-report bug #567
This commit is contained in:
RealAngeleno 2023-07-28 14:33:30 -04:00 committed by GitHub
commit bee2d07499
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'];