|
From: Paul S. O. <ps...@us...> - 2002-01-10 14:09:02
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv31850/admin
Modified Files:
admin_groups.php
Log Message:
Fix bug #500322
Index: admin_groups.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_groups.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** admin_groups.php 2001/12/24 13:17:45 1.18
--- admin_groups.php 2002/01/10 14:08:59 1.19
***************
*** 172,175 ****
--- 172,182 ----
}
+ $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>");;
|