mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Minor improvements (#1263)
This commit is contained in:
parent
7beb4afa72
commit
b16ee57faf
6 changed files with 12 additions and 7 deletions
|
@ -736,7 +736,7 @@ for ($i = 0; $i < $total_posts; $i++) {
|
|||
]);
|
||||
|
||||
// Ban information
|
||||
if ($banInfo = getUserBanInfo($poster_id)) {
|
||||
if ($banInfo = getUserBanInfo((int)$poster_id)) {
|
||||
$template->assign_block_vars('postrow.ban', [
|
||||
'IS_BANNED' => true,
|
||||
'BAN_REASON' => $banInfo['ban_reason']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue