From 08e34f03b3dd6b80aec15dad3332ffdeb0204542 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Fri, 8 Jun 2007 07:27:51 +0000 Subject: [PATCH] #12231 git-svn-id: file:///svn/phpbb/trunk@7723 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/docs/CHANGELOG.html | 1 + phpBB/includes/functions_user.php | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 35f0459ebf..dfbca59523 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -243,6 +243,7 @@ p a {
  • [Fix] Made the DBMS selection use language variables (Bug #11969)
  • [Fix] Make sure that a folder is used when viewing messages to oneself (Bug #12105)
  • [Fix] Account for the fact that a board might have no visible Admins (Bug #12185)
  • +
  • [Fix] Change group ranks even if empty (Bug #12231)
  • diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 2c733a9ebd..a1fd2c5555 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -2702,12 +2702,6 @@ function group_set_user_default($group_id, $user_id_ary, $group_attributes = fal continue; } - // Do not update the rank if it is set to "user default" - if (strpos($attribute, 'group_rank') === 0 && !$group_attributes[$attribute]) - { - continue; - } - settype($group_attributes[$attribute], $type); $sql_ary[str_replace('group_', 'user_', $attribute)] = $group_attributes[$attribute]; }