mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
git-svn-id: file:///svn/phpbb/trunk@7723 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cf7a172183
commit
08e34f03b3
2 changed files with 1 additions and 6 deletions
|
@ -243,6 +243,7 @@ p a {
|
||||||
<li>[Fix] Made the DBMS selection use language variables (Bug #11969)</li>
|
<li>[Fix] Made the DBMS selection use language variables (Bug #11969)</li>
|
||||||
<li>[Fix] Make sure that a folder is used when viewing messages to oneself (Bug #12105)</li>
|
<li>[Fix] Make sure that a folder is used when viewing messages to oneself (Bug #12105)</li>
|
||||||
<li>[Fix] Account for the fact that a board might have no visible Admins (Bug #12185)</li>
|
<li>[Fix] Account for the fact that a board might have no visible Admins (Bug #12185)</li>
|
||||||
|
<li>[Fix] Change group ranks even if empty (Bug #12231)</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -2702,12 +2702,6 @@ function group_set_user_default($group_id, $user_id_ary, $group_attributes = fal
|
||||||
continue;
|
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);
|
settype($group_attributes[$attribute], $type);
|
||||||
$sql_ary[str_replace('group_', 'user_', $attribute)] = $group_attributes[$attribute];
|
$sql_ary[str_replace('group_', 'user_', $attribute)] = $group_attributes[$attribute];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue