mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
try to add another fix for bans
git-svn-id: file:///svn/phpbb/trunk@8225 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
18d014c765
commit
3989042217
1 changed files with 3 additions and 0 deletions
|
@ -1064,6 +1064,9 @@ class session
|
|||
$message .= ($ban_row['ban_give_reason']) ? '<br /><br />' . sprintf($this->lang['BOARD_BAN_REASON'], $ban_row['ban_give_reason']) : '';
|
||||
$message .= '<br /><br /><em>' . $this->lang['BAN_TRIGGERED_BY_' . strtoupper($ban_triggered_by)] . '</em>';
|
||||
|
||||
// To circumvent session_begin returning a valid value and the check_ban() not called on second page view, we kill the session again
|
||||
$this->session_kill(false);
|
||||
|
||||
trigger_error($message);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue