diff options
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/status_captiveportal.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/widgets/widgets/captive_portal_status.widget.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/status_captiveportal.php b/src/usr/local/www/status_captiveportal.php index 516eff8..bf9b81b 100644 --- a/src/usr/local/www/status_captiveportal.php +++ b/src/usr/local/www/status_captiveportal.php @@ -61,7 +61,7 @@ if (isset($cpzone) && !empty($cpzone) && isset($a_cp[$cpzone]['zoneid'])) { } if ($_GET['act'] == "del" && !empty($cpzone) && isset($cpzoneid) && isset($_GET['id'])) { - captiveportal_disconnect_client($_GET['id']); + captiveportal_disconnect_client($_GET['id'], 6); header("Location: status_captiveportal.php?zone={$cpzone}"); exit; } diff --git a/src/usr/local/www/widgets/widgets/captive_portal_status.widget.php b/src/usr/local/www/widgets/widgets/captive_portal_status.widget.php index df98188..65c8b4a 100644 --- a/src/usr/local/www/widgets/widgets/captive_portal_status.widget.php +++ b/src/usr/local/www/widgets/widgets/captive_portal_status.widget.php @@ -48,7 +48,7 @@ if (isset($cpzone) && !empty($cpzone) && isset($a_cp[$cpzone]['zoneid'])) { } if (($_GET['act'] == "del") && !empty($cpzone) && isset($cpzoneid)) { - captiveportal_disconnect_client($_GET['id']); + captiveportal_disconnect_client($_GET['id'], 6); } unset($cpzone); |