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
|
@ -397,7 +397,7 @@ $userdata =& $user->data;
|
|||
/**
|
||||
* Initial ban check
|
||||
*/
|
||||
if ($banInfo = getUserBanInfo($user->id)) {
|
||||
if ($banInfo = getUserBanInfo((int)$user->id)) {
|
||||
if (!IS_GUEST) {
|
||||
$user->session_end();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue