diff --git a/system/controllers/customers.php b/system/controllers/customers.php index 303c25ea..e4981ece 100644 --- a/system/controllers/customers.php +++ b/system/controllers/customers.php @@ -339,6 +339,7 @@ switch ($action) { if ($_app_stage != 'demo') { if (file_exists($dvc)) { require_once $dvc; + $p['plan_expired'] = 0; (new $p['device'])->remove_customer($c, $p); } else { new Exception(Lang::T("Devices Not Found")); diff --git a/system/controllers/plan.php b/system/controllers/plan.php index 22f5c4f9..3153660e 100644 --- a/system/controllers/plan.php +++ b/system/controllers/plan.php @@ -333,6 +333,7 @@ switch ($action) { if ($_app_stage != 'demo') { if (file_exists($dvc)) { require_once $dvc; + $p['plan_expired'] = 0; (new $p['device'])->remove_customer($customer, $p); } else { new Exception(Lang::T("Devices Not Found"));