From 56c69122e475d629e0df971d37f3afce8834f23d Mon Sep 17 00:00:00 2001 From: gerandonk Date: Thu, 10 Oct 2024 08:11:53 +0700 Subject: [PATCH] fix send plan radius tolong di koreksi siapa tau ada kesalahan ambil code nya --- system/controllers/order.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'];