From e3c173bea4c0ae23378ea4cd1270219f6cb17a41 Mon Sep 17 00:00:00 2001 From: iBNu Maksum Date: Tue, 11 Mar 2025 12:29:46 +0700 Subject: [PATCH] Different expired message --- system/cron.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/system/cron.php b/system/cron.php index 6165c734..06092eb6 100644 --- a/system/cron.php +++ b/system/cron.php @@ -89,7 +89,13 @@ foreach ($d as $ds) { // Send notification and update user status try { - echo Message::sendPackageNotification($c, $u['namebp'], $p['price'], $textExpired, $config['user_notification_expired']) . "\n"; + echo Message::sendPackageNotification( + $c, + $u['namebp'], + $p['price'], + Message::getMessageType($p['type'], $textExpired), + $config['user_notification_expired'] + ) . "\n"; $u->status = 'off'; $u->save(); } catch (Throwable $e) {