From 0422c1e9bb83e23847526e5429770860bdb199e0 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Fri, 5 Apr 2024 17:37:41 +0700 Subject: [PATCH] allow [[plan]] and [[package]] to be replaced with plan name --- system/autoload/Message.php | 1 + 1 file changed, 1 insertion(+) diff --git a/system/autoload/Message.php b/system/autoload/Message.php index 4961eafc..a6146178 100644 --- a/system/autoload/Message.php +++ b/system/autoload/Message.php @@ -115,6 +115,7 @@ class Message global $u; $msg = str_replace('[[name]]', $customer['fullname'], $message); $msg = str_replace('[[username]]', $customer['username'], $msg); + $msg = str_replace('[[plan]]', $package, $msg); $msg = str_replace('[[package]]', $package, $msg); $msg = str_replace('[[price]]', Lang::moneyFormat($price), $msg); list($bills, $add_cost) = User::getBills($customer['id']);