diff --git a/system/controllers/order.php b/system/controllers/order.php index 988db104..4b0bbf61 100644 --- a/system/controllers/order.php +++ b/system/controllers/order.php @@ -271,7 +271,8 @@ switch ($action) { if (!$plan['enabled']) { r2(U . "home", 'e', 'Plan is not exists'); } - if ($routes['2'] == 'radius') { + if ($plan['is_radius'] == '1') { + $routes['2'] = '0'; $router_name = 'radius'; } else { $router_name = $plan['routers'];