From 1321a004f044f16ff681bcad9638da2f15718c70 Mon Sep 17 00:00:00 2001 From: ellite Date: Sat, 11 Nov 2023 10:08:44 +0100 Subject: [PATCH] Fix notifications --- endpoints/cronjobs/sendnotifications.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/cronjobs/sendnotifications.php b/endpoints/cronjobs/sendnotifications.php index bbe7e1c..9dadd13 100644 --- a/endpoints/cronjobs/sendnotifications.php +++ b/endpoints/cronjobs/sendnotifications.php @@ -49,7 +49,7 @@ require $webPath . 'libs/PHPMailer/SMTP.php'; require $webPath . 'libs/PHPMailer/Exception.php'; - $dayText = $days == 1 ? "tomorrow" : "in " . $days . " days" + $dayText = $days == 1 ? "tomorrow" : "in " . $days . " days"; $message = "The following subscriptions are up for renewal " . $dayText . ":\n"; foreach ($notify as $subscription) { $message .= $subscription['name'] . " for " . $subscription['price'] . "\n";