Customer update insert
This commit is contained in:
parent
b9828210ce
commit
5024df9c0b
@ -45,7 +45,7 @@ switch ($action) {
|
||||
$p = ORM::for_table('tbl_plans')->where('id', $c['plan_id'])->find_one();
|
||||
if($p['is_radius']){
|
||||
if($c['type'] == 'Hotspot' || ($c['type'] == 'PPPOE' && empty($d['pppoe_password']))){
|
||||
Radius::customerAdd($d, $p);
|
||||
Radius::customerUpsert($d, $p);
|
||||
}
|
||||
}else{
|
||||
$mikrotik = Mikrotik::info($c['routers']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user