Browse Source

Merge pull request #1500 from Antes/small-fix

Global Topic missing
Michael Eshom 10 years ago
parent
commit
877399f21d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/ReportToMod.php

+ 1 - 1
Sources/ReportToMod.php

@@ -225,7 +225,7 @@ function ReportToModerator2()
 
 function reportPost($msg, $reason)
 {
-	global $context, $smcFunc, $user_info;
+	global $context, $smcFunc, $user_info, $topic;
 
 	// Get the basic topic information, and make sure they can see it.
 	$_POST['msg'] = (int) $msg;