mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Reverted checking. Missed the variable nr of arguments for group_user_add()
git-svn-id: file:///svn/phpbb/trunk@5226 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
8760367611
commit
d7b12970d7
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ function marklist(match, status)
|
|||
$name_ary = array_unique(explode("\n", $name_ary));
|
||||
|
||||
// Add user/s to group
|
||||
if ($error = group_user_add($group_id, false, $name_ary, $group_name, $default, $leader, 0))
|
||||
if ($error = group_user_add($group_id, false, $name_ary, $group_name, $default, $leader, $group_colour, $group_rank, $group_avatar, $group_avatar_type, $group_avatar_width, $group_avatar_height))
|
||||
{
|
||||
trigger_error($user->lang[$error]);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue