Browse Source

Need to create the same tokens for viewing closed reports

Signed-off-by: Suki <[email protected]>
Suki 10 years ago
parent
commit
069f840cbb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Sources/ReportedPosts.php

+ 3 - 0
Sources/ReportedPosts.php

@@ -179,6 +179,9 @@ function ShowClosedReports()
 			return confirm('. JavaScriptEscape($txt['mc_reportedp_ignore_confirm']) .');
 		}
 	});', true);
+
+	createToken('mod-report-ignore', 'get');
+	createToken('mod-report-closed', 'get');
 }
 
 function ReportDetails()