From 08153e6ec1684375b772cc8c355e07ac812b9df9 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Wed, 28 Feb 2024 11:31:31 +0700 Subject: [PATCH] Fix Buy Plan with Balance --- 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 75304c8b..03003430 100644 --- a/system/controllers/order.php +++ b/system/controllers/order.php @@ -142,7 +142,7 @@ switch ($action) { $ui->display('user-orderView.tpl'); break; case 'pay': - if ($_c['enable_balance'] != 'yes' && $config['allow_balance_transfer'] != 'yes') { + if ($_c['enable_balance'] != 'yes') { r2(U . "order/package", 'e', Lang::T("Balance not enabled")); } $plan = ORM::for_table('tbl_plans')->where('enabled', '1')->find_one($routes['3']);