When I'm looking for player NICK in Acc I'm getting this error:
This player is banned
Line 378 and more
Code:
Fatal error: Call to undefined method OTS_Account::getBanTime() in characters.php on line 378
Line 378 and more
Code:
if($account->getBanTime() > 0)
Code:
if($account->isBanned())
if($account->getBanTime() > 0)
$main_content .= '<font color="red"> [Banished until '.date("j F Y, G:i", $account->getBanTime()).']</font>';
else
$main_content .= '<font color="red"> [Banished FOREVER]</font>';