aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-10-14 02:55:21 +0200
committerNils Adermann <naderman@naderman.de>2011-10-14 02:55:21 +0200
commitd68b815690e26d4327f306c84a21c60885ec7074 (patch)
tree18ce158d6bc0c4236ab19bd7df16614b5885d853 /phpBB/includes/acp
parentMerge branch 'develop-olympus' into develop (diff)
parentMerge remote-tracking branch 'github-nickvergessen/ticket/10074' into develop... (diff)
downloadphpbb-d68b815690e26d4327f306c84a21c60885ec7074.tar.gz
phpbb-d68b815690e26d4327f306c84a21c60885ec7074.tar.bz2
phpbb-d68b815690e26d4327f306c84a21c60885ec7074.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10074] Change default value of 'Set as special rank' to No
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_ranks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_ranks.php b/phpBB/includes/acp/acp_ranks.php
index 5c05afbfad..41404db8e9 100644
--- a/phpBB/includes/acp/acp_ranks.php
+++ b/phpBB/includes/acp/acp_ranks.php
@@ -199,7 +199,7 @@ class acp_ranks
'RANK_TITLE' => (isset($ranks['rank_title'])) ? $ranks['rank_title'] : '',
'S_FILENAME_LIST' => $filename_list,
'RANK_IMAGE' => ($edit_img) ? $phpbb_root_path . $config['ranks_path'] . '/' . $edit_img : $phpbb_admin_path . 'images/spacer.gif',
- 'S_SPECIAL_RANK' => (!isset($ranks['rank_special']) || $ranks['rank_special']) ? true : false,
+ 'S_SPECIAL_RANK' => (isset($ranks['rank_special']) && $ranks['rank_special']) ? true : false,
'MIN_POSTS' => (isset($ranks['rank_min']) && !$ranks['rank_special']) ? $ranks['rank_min'] : 0)
);