remove active when extend
This commit is contained in:
parent
e8885e91ec
commit
9436a6e8f1
@ -188,6 +188,8 @@ if (isset($_GET['recharge']) && !empty($_GET['recharge'])) {
|
|||||||
if ($_app_stage != 'demo') {
|
if ($_app_stage != 'demo') {
|
||||||
if (file_exists($dvc)) {
|
if (file_exists($dvc)) {
|
||||||
require_once $dvc;
|
require_once $dvc;
|
||||||
|
global $isChangePlan;
|
||||||
|
$isChangePlan = true;
|
||||||
(new $p['device'])->add_customer($user, $p);
|
(new $p['device'])->add_customer($user, $p);
|
||||||
} else {
|
} else {
|
||||||
new Exception(Lang::T("Devices Not Found"));
|
new Exception(Lang::T("Devices Not Found"));
|
||||||
|
@ -848,6 +848,8 @@ switch ($action) {
|
|||||||
if ($_app_stage != 'demo') {
|
if ($_app_stage != 'demo') {
|
||||||
if (file_exists($dvc)) {
|
if (file_exists($dvc)) {
|
||||||
require_once $dvc;
|
require_once $dvc;
|
||||||
|
global $isChangePlan;
|
||||||
|
$isChangePlan = true;
|
||||||
(new $p['device'])->add_customer($c, $p);
|
(new $p['device'])->add_customer($c, $p);
|
||||||
} else {
|
} else {
|
||||||
new Exception(Lang::T("Devices Not Found"));
|
new Exception(Lang::T("Devices Not Found"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user