mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
Merge pull request #610 from vichan-devel/RealAngeleno-reportfix
Fix multi-report bug #567
This commit is contained in:
commit
bee2d07499
@ -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'];
|
||||
|
Loading…
Reference in New Issue
Block a user