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

@ -735,7 +735,7 @@ for ($i = 0; $i < $total_posts; $i++) {
]);
// Ban information
if ($banInfo = getUserBanInfo((int)$poster_id)) {
if ($banInfo = getBanInfo((int)$poster_id)) {
$template->assign_block_vars('postrow.ban', [
'IS_BANNED' => true,
'BAN_REASON' => $banInfo['ban_reason']