mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-10 18:14:23 +02:00
if enable_balance and allow_balance_transfer
This commit is contained in:
parent
3b4e3c7789
commit
3eefec6e21
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ if (isset($_GET['renewal'])) {
|
|||
}
|
||||
|
||||
if (_post('send') == 'balance') {
|
||||
if ($config['allow_balance_transfer'] == 'yes') {
|
||||
if ($config['enable_balance'] == 'yes' && $config['allow_balance_transfer'] == 'yes') {
|
||||
$target = ORM::for_table('tbl_customers')->where('username', _post('username'))->find_one();
|
||||
if (!$target) {
|
||||
r2(U . 'home', 'd', Lang::T('Username not found'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue