Browse Source

Globalized options and modSettings - Thanks Norv for the report

Signed-off-by: emanuele <[email protected]>
emanuele 11 years ago
parent
commit
9d9de3a868
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/PostModeration.php

+ 1 - 1
Sources/PostModeration.php

@@ -50,7 +50,7 @@ function PostModerationMain()
  */
 function UnapprovedPosts()
 {
-	global $txt, $scripturl, $context, $user_info, $smcFunc;
+	global $txt, $scripturl, $context, $user_info, $smcFunc, $options, $modSettings;
 
 	$context['current_view'] = isset($_GET['sa']) && $_GET['sa'] == 'topics' ? 'topics' : 'replies';
 	$context['page_title'] = $txt['mc_unapproved_posts'];