mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-31 00:04:44 +02:00
Customer update insert
This commit is contained in:
parent
b9828210ce
commit
5024df9c0b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue