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:
parent
2d708984c4
commit
85b5dee77d
@ -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']);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user