fix send plan radius

tolong di koreksi siapa tau ada kesalahan ambil code nya
This commit is contained in:
gerandonk 2024-10-10 08:11:53 +07:00
parent f7cb6c196f
commit 56c69122e4

View File

@ -271,7 +271,8 @@ switch ($action) {
if (!$plan['enabled']) { if (!$plan['enabled']) {
r2(U . "home", 'e', 'Plan is not exists'); r2(U . "home", 'e', 'Plan is not exists');
} }
if ($routes['2'] == 'radius') { if ($plan['is_radius'] == '1') {
$routes['2'] = '0';
$router_name = 'radius'; $router_name = 'radius';
} else { } else {
$router_name = $plan['routers']; $router_name = $plan['routers'];