mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
use previous information gathered for obtaining the ban type (bug #14674)
git-svn-id: file:///svn/phpbb/trunk@8157 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ea9c1d7ea9
commit
96617d8902
1 changed files with 1 additions and 1 deletions
|
@ -985,7 +985,7 @@ class session
|
||||||
{
|
{
|
||||||
$ban_triggered_by = 'user';
|
$ban_triggered_by = 'user';
|
||||||
}
|
}
|
||||||
else if (!empty($row['ban_ip']) && preg_match('#^' . str_replace('\*', '.*?', preg_quote($row['ban_ip'], '#')) . '$#i', $user_ips))
|
else if ($ip_banned)
|
||||||
{
|
{
|
||||||
$ban_triggered_by = 'ip';
|
$ban_triggered_by = 'ip';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue