fix change plan for radius
This commit is contained in:
parent
21d83268f7
commit
486e22f020
@ -231,7 +231,11 @@ switch ($action) {
|
||||
//$d->recharged_on = $recharged_on;
|
||||
$d->expiration = $expiration;
|
||||
$d->time = $time;
|
||||
$d->routers = $p['routers'];
|
||||
if($p['is_radius']){
|
||||
$d->routers = 'radius';
|
||||
}else{
|
||||
$d->routers = $p['routers'];
|
||||
}
|
||||
$d->save();
|
||||
Package::changeTo($username, $id_plan, $id);
|
||||
_log('[' . $admin['username'] . ']: ' . 'Edit Plan for Customer ' . $d['username'] . ' to [' . $d['plan_name'] . '][' . Lang::moneyFormat($d['price']) . ']', 'Admin', $admin['id']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user