mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-05 15:44:24 +02:00
Update home.php
This commit is contained in:
parent
d57d356ce3
commit
ce7302cab7
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ if (isset($_GET['recharge']) && !empty($_GET['recharge'])) {
|
|||
}
|
||||
}
|
||||
|
||||
if (!empty($_SESSION['nux-mac']) && !empty($_SESSION['nux-ip'])) {
|
||||
if (!empty($_SESSION['nux-mac']) && !empty($_SESSION['nux-ip'] && $_c['hs_auth_method'] != 'hchap')) {
|
||||
$ui->assign('nux_mac', $_SESSION['nux-mac']);
|
||||
$ui->assign('nux_ip', $_SESSION['nux-ip']);
|
||||
$bill = ORM::for_table('tbl_user_recharges')->where('id', $_GET['id'])->where('username', $user['username'])->findOne();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue