fix: correct notification reminder configuration keys for 3-day and 7-day reminders
This commit is contained in:
parent
bad0545be5
commit
9bae41dbe7
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user