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:
@@ -591,7 +591,7 @@ class banlist_form_ui extends e_admin_form_ui
|
||||
|
||||
$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")
|
||||
{
|
||||
|
Reference in New Issue
Block a user