Event Guard - Fix Unblock multiple checked.

This commit is contained in:
fusionate 2023-03-17 21:07:35 +00:00
parent c923293050
commit 9c8f4e9060
No known key found for this signature in database
1 changed files with 4 additions and 3 deletions

View File

@ -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;