add change_username function

This commit is contained in:
Ibnu Maksum
2024-07-18 09:48:22 +07:00
parent 27aeb93b57
commit 938173cab7
6 changed files with 56 additions and 18 deletions

View File

@ -322,6 +322,7 @@ switch ($action) {
$d->status = 'on';
}
}
// plan different then do something
if ($oldPlanID != $id_plan) {
$d->plan_id = $newPlan['id'];
$d->namebp = $newPlan['name_plan'];