Event Guard - Fix Unblock multiple checked.
This commit is contained in:
parent
c923293050
commit
9c8f4e9060
|
|
@ -211,9 +211,10 @@
|
|||
}
|
||||
|
||||
//log the blocked ip address to the database
|
||||
$array['event_guard_logs'][0]['event_guard_log_uuid'] = $row['event_guard_log_uuid'];
|
||||
$array['event_guard_logs'][0]['log_date'] = 'now()';
|
||||
$array['event_guard_logs'][0]['log_status'] = 'unblocked';
|
||||
$array['event_guard_logs'][$x]['event_guard_log_uuid'] = $row['event_guard_log_uuid'];
|
||||
$array['event_guard_logs'][$x]['log_date'] = 'now()';
|
||||
$array['event_guard_logs'][$x]['log_status'] = 'unblocked';
|
||||
$x++;
|
||||
}
|
||||
if (is_array($array)) {
|
||||
$p = new permissions;
|
||||
|
|
|
|||
Loading…
Reference in New Issue