mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02: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:
@@ -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);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user