forked from kevinowino869/mitrobill
fix critical bug customer can recharge without balance when using balance. and move Balance to select Gateway
This commit is contained in:
@ -163,7 +163,8 @@ class User
|
||||
if($validDays>=30){
|
||||
$time = time();
|
||||
}else{
|
||||
$time = strtotime("+ $validDays days");
|
||||
// for customer, deafult expired is 30 days
|
||||
$time = strtotime('+ '.(30 - $validDays).' days');
|
||||
}
|
||||
|
||||
return [
|
||||
|
Reference in New Issue
Block a user