let the device decide again

This commit is contained in:
iBNu Maksum 2024-07-27 22:57:45 +07:00 committed by Ibnu Maksum
parent 1c0ff671a5
commit dd7f9dc94e
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -235,7 +235,7 @@ class Package
}
}
if ($b['status'] == 'on') {
//if ($b['status'] == 'on') {
$dvc = Package::getDevice($p);
if ($_app_stage != 'demo') {
if (file_exists($dvc)) {
@ -245,7 +245,7 @@ class Package
new Exception(Lang::T("Devices Not Found"));
}
}
}
//}
$b->customer_id = $id_customer;
$b->username = $c['username'];