mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Ok, stupid me... this one should work :|
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2797 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cf29f6bacc
commit
6a29bf5c26
1 changed files with 2 additions and 1 deletions
|
@ -290,6 +290,7 @@ else if ( isset($HTTP_POST_VARS['group_update']) )
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERROR, 'Could not insert new group', '', __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, 'Could not insert new group', '', __LINE__, __FILE__, $sql);
|
||||||
}
|
}
|
||||||
|
$new_group_id = $db->sql_nextid();
|
||||||
|
|
||||||
$sql = "INSERT INTO " . USER_GROUP_TABLE . " (group_id, user_id, user_pending)
|
$sql = "INSERT INTO " . USER_GROUP_TABLE . " (group_id, user_id, user_pending)
|
||||||
VALUES ($new_group_id, $group_moderator, 0)";
|
VALUES ($new_group_id, $group_moderator, 0)";
|
||||||
|
@ -357,4 +358,4 @@ else
|
||||||
|
|
||||||
include('./page_footer_admin.'.$phpEx);
|
include('./page_footer_admin.'.$phpEx);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue