fix prepaid update

This commit is contained in:
Ibnu Maksum 2023-11-21 13:47:10 +07:00
parent 486e22f020
commit 8e84c32616
No known key found for this signature in database
GPG key ID: 7FC82848810579E5
2 changed files with 2 additions and 2 deletions

View file

@ -219,7 +219,7 @@ switch ($action) {
} else {
$msg .= $_L['Data_Not_Found'] . '<br>';
}
$p = ORM::for_table('tbl_plans')->where('id', $plan_id)->where('enabled', '1')->find_one();
$p = ORM::for_table('tbl_plans')->where('id', $id_plan)->where('enabled', '1')->find_one();
if ($d) {
} else {
$msg .= ' Plan Not Found<br>';