let the device decide again

This commit is contained in:
iBNu Maksum 2024-07-27 22:57:45 +07:00 committed by GitHub
parent 2f1ee0cfbf
commit 278def959b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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'];