mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 18:59:21 +02:00
Fixed OTHIRE forum accountAccess check
This commit is contained in:
parent
15689d3aed
commit
ce3fcf3b51
@ -48,7 +48,7 @@ function accountAccess($accountId, $TFS) {
|
||||
$yourChars = mysql_select_multi("SELECT `name`, `group_id`, `account_id` FROM `players` WHERE `account_id`='$accountId';");
|
||||
if ($yourChars !== false) {
|
||||
foreach ($yourChars as $char) {
|
||||
if ($TFS === 'TFS_03') {
|
||||
if ($TFS === 'TFS_03' || $TFS === 'OTHIRE') {
|
||||
if ($char['group_id'] > $access) $access = $char['group_id'];
|
||||
} else {
|
||||
if ($char['group_id'] > 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user