mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#1263)
This commit is contained in:
parent
7beb4afa72
commit
b16ee57faf
6 changed files with 12 additions and 7 deletions
|
@ -75,7 +75,7 @@ if (bf($profiledata['user_opt'], 'user_opt', 'dis_sig')) {
|
|||
}
|
||||
|
||||
// Ban information
|
||||
if ($banInfo = getUserBanInfo($profiledata['user_id'])) {
|
||||
if ($banInfo = getUserBanInfo((int)$profiledata['user_id'])) {
|
||||
$template->assign_block_vars('ban', [
|
||||
'IS_BANNED' => true,
|
||||
'BAN_REASON' => $banInfo['ban_reason']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue