From 85b5dee77ddfff5ed8bfc11427e4022d1d799d69 Mon Sep 17 00:00:00 2001
From: discomrade <83621080+discomrade@users.noreply.github.com>
Date: Mon, 16 Jan 2023 03:35:11 +0000
Subject: [PATCH] Fix post number on dismissed reports log, show id
Previously the report dismiss logs would show the report id instead of the post number.
---
inc/mod/pages.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index c213fdbb..0de0d663 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -2433,7 +2433,7 @@ function mod_report_dismiss($id, $all = false) {
if ($all)
modLog("Dismissed all reports by $cip");
else
- modLog("Dismissed a report for post #{$id}", $board);
+ modLog("Dismissed a report for post #{$post} (#{$id})", $board);
header('Location: ?/reports', true, $config['redirect_http']);
}