Minor improvements (#1273)

* Minor improvements

* Updated
This commit is contained in:
Roman Kelesidis 2023-12-27 01:26:35 +07:00 committed by GitHub
commit 70322d7b73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 17 deletions

View file

@ -75,7 +75,7 @@ if (bf($profiledata['user_opt'], 'user_opt', 'dis_sig')) {
}
// Ban information
if ($banInfo = getUserBanInfo((int)$profiledata['user_id'])) {
if ($banInfo = getBanInfo((int)$profiledata['user_id'])) {
$template->assign_block_vars('ban', [
'IS_BANNED' => true,
'BAN_REASON' => $banInfo['ban_reason']