From 9bae41dbe7afc0cc90afa4c19cf79368d07c797f Mon Sep 17 00:00:00 2001 From: Focuslinkstech <45756999+Focuslinkstech@users.noreply.github.com> Date: Sun, 30 Mar 2025 11:26:40 +0100 Subject: [PATCH] fix: correct notification reminder configuration keys for 3-day and 7-day reminders --- system/cron_reminder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/cron_reminder.php b/system/cron_reminder.php index ad4adbca..01092c80 100644 --- a/system/cron_reminder.php +++ b/system/cron_reminder.php @@ -49,7 +49,7 @@ foreach ($d as $ds) { } else { $price = $p['price']; } - if ($ds['expiration'] == $day7 && $config['notification_reminder_7day'] !== 'no') { + if ($ds['expiration'] == $day7 && $config['notification_reminder_7days'] !== 'no') { try { echo Message::sendPackageNotification( $c, @@ -61,7 +61,7 @@ foreach ($d as $ds) { } catch (Exception $e) { sendTelegram("Cron Reminder failed to send 7-day reminder to " . $ds['username'] . " Error: " . $e->getMessage()); } - } else if ($ds['expiration'] == $day3 && $config['notification_reminder_3day'] !== 'no') { + } else if ($ds['expiration'] == $day3 && $config['notification_reminder_3days'] !== 'no') { try { echo Message::sendPackageNotification( $c,