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:
dougk_ff7 2002-07-31 19:14:46 +00:00
parent cf29f6bacc
commit 6a29bf5c26

View file

@ -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);
?> ?>