fix wrong variable

This commit is contained in:
Ibnu Maksum
2024-06-21 09:44:49 +07:00
parent 628fcda360
commit d11b2a75ef
7 changed files with 29 additions and 25 deletions

View File

@ -269,6 +269,7 @@ switch ($action) {
if ($d) {
run_hook('delete_customer_active_plan'); #HOOK
$p = ORM::for_table('tbl_plans')->find_one($d['plan_id']);
$c = User::_info($d['customer_id']);
$dvc = Package::getDevice($p);
if ($_app_stage != 'demo') {
if (file_exists($dvc)) {