mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
typo
This commit is contained in:
parent
a1ecdd228d
commit
2991696a60
@ -1374,7 +1374,7 @@ function getPlayerNameByAccountId($id)
|
|||||||
$account = new OTS_Account();
|
$account = new OTS_Account();
|
||||||
$account->load($id);
|
$account->load($id);
|
||||||
if ($account->isLoaded()) {
|
if ($account->isLoaded()) {
|
||||||
$query = $db->query('SELECT `name` FROM `players` WHERE `account_id` = ' . $id . ' ORDER BY `lastlogin` DESC LIMIT 1;')->fetch();
|
$query = $db->query('SELECT `name` FROM `players` WHERE `account_id` = ' . $id . ' ORDER BY `lastlogin` DESC LIMIT 1;');
|
||||||
|
|
||||||
if (!$query || !$query->rowCount()) {
|
if (!$query || !$query->rowCount()) {
|
||||||
return '';
|
return '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user