($plan['is_radius'] == '1')

This commit is contained in:
gerandonk 2024-10-11 18:59:38 +07:00
parent 7267bd082a
commit 0f0929db2a

View File

@ -271,7 +271,7 @@ 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; $routes['2'] = 0;
$router_name = 'radius'; $router_name = 'radius';
} else { } else {