Browse Source

Push the moderation menu fix again

Signed-off-by: Jeremy D <[email protected]>
Jeremy D 11 years ago
parent
commit
0f7d2ff5c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/Admin.php

+ 1 - 1
Sources/Admin.php

@@ -127,7 +127,7 @@ function AdminMain()
 					'subsections' => array(
 						'general' => array($txt['mods_cat_security_general']),
 						'spam' => array($txt['antispam_title']),
-						'moderation' => array($txt['moderation_settings_short'], 'enabled' => substr($modSettings['warning_settings'], 0, 1) == 1),
+						'moderation' => array($txt['moderation_settings_short'], 'enabled' => in_array('w', $context['admin_features'])),
 					),
 				),
 				'languages' => array(