mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-31 00:04:44 +02:00
Fix Buy Plan with Balance
This commit is contained in:
parent
2660f5d2d0
commit
08153e6ec1
1 changed files with 1 additions and 1 deletions
|
@ -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']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue