From e31aeca2dd315926507f268bddc6e134dcb54792 Mon Sep 17 00:00:00 2001 From: AGSTR <144728914+agstrxyz@users.noreply.github.com> Date: Mon, 26 Aug 2024 19:15:40 +0700 Subject: [PATCH] Update order.php fix gagal beli voucher paket radius rest --- system/controllers/order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];