mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Fix typo
This commit is contained in:
@@ -89,7 +89,7 @@ if(isset($_POST['delbanSubmit']))
|
|||||||
{
|
{
|
||||||
$at = $sql->db_Fetch();
|
$at = $sql->db_Fetch();
|
||||||
//if (!$e107->add_ban(4, FLALAN_4, $at['gen_ip'], ADMINID))
|
//if (!$e107->add_ban(4, FLALAN_4, $at['gen_ip'], ADMINID))
|
||||||
if (!e107::getIPHandler()add_ban(4, FLALAN_4, $at['gen_ip'], ADMINID))
|
if (!e107::getIPHandler()->add_ban(4, FLALAN_4, $at['gen_ip'], ADMINID))
|
||||||
{ // IP on whitelist (although possibly we shouldn't get to this stage, but check anyway
|
{ // IP on whitelist (although possibly we shouldn't get to this stage, but check anyway
|
||||||
$emessage->add(str_replace(FLALAN_18,'--IP--',$at['gen_ip']), E_MESSAGE_WARNING);
|
$emessage->add(str_replace(FLALAN_18,'--IP--',$at['gen_ip']), E_MESSAGE_WARNING);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user