mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 15:17:16 +01:00
Fix bug #500322
git-svn-id: file:///svn/phpbb/trunk@1835 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
58ae7ec6b2
commit
ce5b2a114f
@ -171,6 +171,13 @@ else if( isset($HTTP_POST_VARS['group_update']) )
|
||||
message_die(GENERAL_ERROR, "Couldn't update group", "", __LINE__, __FILE__, $sql);
|
||||
}
|
||||
|
||||
$sql = "DELETE FROM " . USER_GROUP_TABLE . "
|
||||
WHERE group_id = " . $group_id;
|
||||
if ( !$result = $db->sql_query($sql) )
|
||||
{
|
||||
message_die(GENERAL_ERROR, "Couldn't update user_group", "", __LINE__, __FILE__, $sql);
|
||||
}
|
||||
|
||||
$message = $lang['Deleted_group'] . "<br /><br />" . sprintf($lang['Click_return_groupsadmin'], "<a href=\"" . append_sid("admin_groups.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");;
|
||||
|
||||
message_die(GENERAL_MESSAGE, $message);
|
||||
|
Loading…
x
Reference in New Issue
Block a user