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