mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 18:24:32 +02:00
activate customer when edit Expired
This commit is contained in:
parent
adbac642ca
commit
bba09ca647
2 changed files with 4 additions and 0 deletions
|
@ -231,6 +231,9 @@ switch ($action) {
|
|||
//$d->recharged_on = $recharged_on;
|
||||
$d->expiration = $expiration;
|
||||
$d->time = $time;
|
||||
if(strtotime($expiration.' '.$time) > time()){
|
||||
$d->status = 'on';
|
||||
}
|
||||
if($p['is_radius']){
|
||||
$d->routers = 'radius';
|
||||
}else{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue