Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix count for overdue bills.
James Colee71e5a877b98
diff --git a/app/Handlers/Events/BillEventHandler.php b/app/Handlers/Events/BillEventHandler.phpindex 48cabb95e8..6a96bf29a7 100644--- a/app/Handlers/Events/BillEventHandler.php+++ b/app/Handlers/Events/BillEventHandler.php@@ -69,7 +69,7 @@ class BillEventHandlerreturn;}- Log::debug(sprintf('Will warning about %d overdue subscription(s).', count($toBeWarned)));+ Log::debug(sprintf('Will warn about %d overdue subscription(s).', count($toBeWarned)));if (0 === count($toBeWarned)) {Log::debug('No overdue subscriptions to warn about.');@@ -84,7 +84,7 @@ class BillEventHandlerLog::warning('should hit this ONCE');try {- Notification::send($user, new SubscriptionsOverdueReminder($overdue));+ Notification::send($user, new SubscriptionsOverdueReminder($toBeWarned));} catch (Exception $e) {$message = $e->getMessage();if (str_contains($message, 'Bcc')) {