1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Update banlist.php

This commit is contained in:
Gábor
2018-04-18 09:45:30 +02:00
committed by GitHub
parent 3e1feac04d
commit 47d88e1e15

View File

@@ -591,7 +591,7 @@ class banlist_form_ui extends e_admin_form_ui
$allFailedTotal = e107::getDB()->count('generic', '(*)', "gen_type='failed_login'"); $allFailedTotal = e107::getDB()->count('generic', '(*)', "gen_type='failed_login'");
$this->batchOptions = array('delete-all'=>"Delete all ".$allFailedTotal." failed logins from database"); $this->batchOptions = array('delete-all'=>str_replace('[x]', $allFailedTotal, BANLAN_127));
if(!empty($_POST['etrigger_batch']) && $_POST['etrigger_batch'] == "delete-all") if(!empty($_POST['etrigger_batch']) && $_POST['etrigger_batch'] == "delete-all")
{ {