Browse Source

Fix post number on dismissed reports log, show id

Previously the report dismiss logs would show the report id instead of the post number.
main
discomrade 1 year ago
committed by -
parent
commit
3c9c29b22d
  1. 2
      inc/mod/pages.php

2
inc/mod/pages.php

@ -3238,7 +3238,7 @@ function mod_report_dismiss($id, $all = false) {
if ($all)
modLog("Dismissed all reports by <a href=\"?/IP/$cip\">$cip</a>");
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']);
}

Loading…
Cancel
Save