瀏覽代碼

Oopsies!

Signed-off-by: Michael Eshom <[email protected]>
Michael Eshom 11 年之前
父節點
當前提交
f4c4d89c2a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Sources/Profile.php

+ 1 - 1
Sources/Profile.php

@@ -295,7 +295,7 @@ function ModifyProfile($post_errors = array())
 				),
 				'issuewarning' => array(
 					'label' => $txt['profile_issue_warning'],
-					'enabled' => in_array('w', $context['admin_features']) && $modSettings['warning_settings'][0] == 1
+					'enabled' => in_array('w', $context['admin_features']) && $modSettings['warning_settings'][0] == 1,
 					'file' => 'Profile-Actions.php',
 					'function' => 'issueWarning',
 					'token' => 'profile-iw%u',