mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 18:24:32 +02:00
fix sync expired
This commit is contained in:
parent
88aca9bac5
commit
1e80e5d929
2 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ switch ($action) {
|
|||
$p = ORM::for_table('tbl_plans')->findOne($plan['plan_id']);
|
||||
$c = ORM::for_table('tbl_customers')->findOne($plan['customer_id']);
|
||||
if($plan['routers'] == 'radius'){
|
||||
Radius::customerAddPlan($c, $p, $plans['expiration'].' '.$plans['time']);
|
||||
Radius::customerAddPlan($c, $p, $plan['expiration'].' '.$plan['time']);
|
||||
}else{
|
||||
if ($plan['type'] == 'Hotspot') {
|
||||
Mikrotik::addHotspotUser($client, $p, $c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue