remove active when extend

This commit is contained in:
Ibnu Maksum 2024-08-29 11:23:57 +07:00
parent e8885e91ec
commit 9436a6e8f1
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
2 changed files with 4 additions and 0 deletions

View File

@ -188,6 +188,8 @@ if (isset($_GET['recharge']) && !empty($_GET['recharge'])) {
if ($_app_stage != 'demo') {
if (file_exists($dvc)) {
require_once $dvc;
global $isChangePlan;
$isChangePlan = true;
(new $p['device'])->add_customer($user, $p);
} else {
new Exception(Lang::T("Devices Not Found"));

View File

@ -848,6 +848,8 @@ switch ($action) {
if ($_app_stage != 'demo') {
if (file_exists($dvc)) {
require_once $dvc;
global $isChangePlan;
$isChangePlan = true;
(new $p['device'])->add_customer($c, $p);
} else {
new Exception(Lang::T("Devices Not Found"));