Update Package.php

fix package recharge bug
This commit is contained in:
Focuslinkstech 2024-02-26 18:03:48 +01:00
parent fceb79bdc3
commit afe6b34fd6

View File

@ -201,9 +201,9 @@ class Package
$d->routers = $router_name; $d->routers = $router_name;
$d->type = "Hotspot"; $d->type = "Hotspot";
if ($admin) { if ($admin) {
$b->admin_id = $admin['id']; $d->admin_id = $admin['id'];
}else{ }else{
$b->admin_id = '0'; $d->admin_id = '0';
} }
$d->save(); $d->save();