mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2024-09-21 15:26:37 +08:00
Fix Buy Plan with Balance
This commit is contained in:
parent
2660f5d2d0
commit
08153e6ec1
|
@ -142,7 +142,7 @@ switch ($action) {
|
||||||
$ui->display('user-orderView.tpl');
|
$ui->display('user-orderView.tpl');
|
||||||
break;
|
break;
|
||||||
case 'pay':
|
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"));
|
r2(U . "order/package", 'e', Lang::T("Balance not enabled"));
|
||||||
}
|
}
|
||||||
$plan = ORM::for_table('tbl_plans')->where('enabled', '1')->find_one($routes['3']);
|
$plan = ORM::for_table('tbl_plans')->where('enabled', '1')->find_one($routes['3']);
|
||||||
|
|
Loading…
Reference in a new issue