mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-23 20:34:56 +02:00
Merge branch 'hotspotbilling:Development' into Development
This commit is contained in:
commit
d2d52d0ad0
1 changed files with 4 additions and 2 deletions
|
@ -207,8 +207,10 @@ try {
|
||||||
if (!$tur) {
|
if (!$tur) {
|
||||||
// if check if pppoe_username
|
// if check if pppoe_username
|
||||||
$c = ORM::for_table('tbl_customers')->select('username')->select('pppoe_password')->whereRaw("BINARY pppoe_username = '$username'")->find_one();
|
$c = ORM::for_table('tbl_customers')->select('username')->select('pppoe_password')->whereRaw("BINARY pppoe_username = '$username'")->find_one();
|
||||||
$username = $c['username'];
|
if($c){
|
||||||
$tur = ORM::for_table('tbl_user_recharges')->whereRaw("BINARY username = '$username'")->find_one();
|
$username = $c['username'];
|
||||||
|
$tur = ORM::for_table('tbl_user_recharges')->whereRaw("BINARY username = '$username'")->find_one();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ($tur) {
|
if ($tur) {
|
||||||
if (!$isVoucher && !$isCHAP) {
|
if (!$isVoucher && !$isCHAP) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue