Zeile 467 | Zeile 467 |
---|
"uid" => $user['uid'], "gid" => $action['usergroup'], "oldgroup" => $user['usergroup'],
|
"uid" => $user['uid'], "gid" => $action['usergroup'], "oldgroup" => $user['usergroup'],
|
"oldadditionalgroups" => $user['additionalgroups'],
| "oldadditionalgroups" => $db->escape_string($user['additionalgroups']),
|
"olddisplaygroup" => $user['displaygroup'], "admin" => $mybb->user['uid'], "dateline" => TIME_NOW,
| "olddisplaygroup" => $user['displaygroup'], "admin" => $mybb->user['uid'], "dateline" => TIME_NOW,
|
Zeile 481 | Zeile 481 |
---|
$db->delete_query("banned", "uid='{$user['uid']}' AND gid='{$action['usergroup']}'"); // Override new ban details with old group info $new_ban['oldgroup'] = $existing_ban['oldgroup'];
|
$db->delete_query("banned", "uid='{$user['uid']}' AND gid='{$action['usergroup']}'"); // Override new ban details with old group info $new_ban['oldgroup'] = $existing_ban['oldgroup'];
|
$new_ban['oldadditionalgroups'] = $existing_ban['oldadditionalgroups'];
| $new_ban['oldadditionalgroups'] = $db->escape_string($existing_ban['oldadditionalgroups']);
|
$new_ban['olddisplaygroup'] = $existing_ban['olddisplaygroup']; }
| $new_ban['olddisplaygroup'] = $existing_ban['olddisplaygroup']; }
|