mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 03:09:22 +02:00
Fix issue #8
This commit is contained in:
parent
5582670fc0
commit
1e3461314b
@ -127,6 +127,8 @@ function support_list() {
|
||||
$TFS = Config('TFSVersion');
|
||||
if ($TFS == 'TFS_10') $staffs = mysql_select_multi("SELECT `id`, `group_id`, `name`, `account_id` FROM `players` WHERE `group_id` > 1 ORDER BY `group_id` ASC;");
|
||||
else $staffs = mysql_select_multi("SELECT `group_id`, `name`, `online`, `account_id` FROM `players` WHERE `group_id` > 1 ORDER BY `group_id` ASC;");
|
||||
|
||||
if ($staffs !== false) {
|
||||
for ($i = 0; $i < count($staffs); $i++) {
|
||||
// $staffs[$i]['']
|
||||
if ($TFS == 'TFS_02' || $TFS == 'TFS_10') {
|
||||
@ -141,6 +143,7 @@ function support_list() {
|
||||
}
|
||||
unset($staffs[$i]['account_id']);
|
||||
}
|
||||
}
|
||||
return $staffs;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user