mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Event Guard - Fix Unblock multiple checked.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user