Zeile 16 | Zeile 16 |
---|
// Load language files $lang->load("managegroup");
|
// Load language files $lang->load("managegroup");
|
$gid = intval($mybb->input['gid']);
| $gid = $mybb->input['gid'] = intval($mybb->input['gid']);
|
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."usergroups WHERE gid='$gid' AND type <> 1"); $usergroup = $db->fetch_array($query);
| $query = $db->query("SELECT * FROM ".TABLE_PREFIX."usergroups WHERE gid='$gid' AND type <> 1"); $usergroup = $db->fetch_array($query);
|
Zeile 70 | Zeile 70 |
---|
{ foreach($mybb->input['request'] as $uid => $what) {
|
{ foreach($mybb->input['request'] as $uid => $what) {
|
| $uid = intval($uid);
|
if($what == "accept") { join_usergroup($uid, $gid);
| if($what == "accept") { join_usergroup($uid, $gid);
|
Zeile 122 | Zeile 123 |
---|
{ foreach($mybb->input['removeuser'] as $uid) {
|
{ foreach($mybb->input['removeuser'] as $uid) {
|
leave_usergroup($uid, $mybb->input['gid']);
| leave_usergroup(intval($uid), $mybb->input['gid']);
|
} }
| } }
|