1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 07:30:10 +01:00

Fix post number on dismissed reports log, show id

Previously the report dismiss logs would show the report id instead of the post number.
This commit is contained in:
discomrade 2023-01-16 03:35:11 +00:00 committed by Fredrick Brennan
parent 2d708984c4
commit 85b5dee77d

View File

@ -2433,7 +2433,7 @@ function mod_report_dismiss($id, $all = false) {
if ($all) if ($all)
modLog("Dismissed all reports by <a href=\"?/IP/$cip\">$cip</a>"); modLog("Dismissed all reports by <a href=\"?/IP/$cip\">$cip</a>");
else else
modLog("Dismissed a report for post #{$id}", $board); modLog("Dismissed a report for post #{$post} <small>(#{$id})</small>", $board);
header('Location: ?/reports', true, $config['redirect_http']); header('Location: ?/reports', true, $config['redirect_http']);
} }