Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix https://github.com/firefly-iii/firefly-iii/issues/9305
James Cole1bff966bfed0
diff --git a/app/Jobs/CreateRecurringTransactions.php b/app/Jobs/CreateRecurringTransactions.phpindex 749e07fda0..4388896e48 100644--- a/app/Jobs/CreateRecurringTransactions.php+++ b/app/Jobs/CreateRecurringTransactions.php@@ -362,11 +362,9 @@ class CreateRecurringTransactions implements ShouldQueue$groupTitle = null;$count = $recurrence->recurrenceTransactions->count();// #8844, if there is one recurrence transaction, use the first title as the title.- if (1 === $count) {- /** @var RecurrenceTransaction $first */- $first = $recurrence->recurrenceTransactions()->first();- $groupTitle = $first->description;- }+ // #9305, if there is one recurrence transaction, group title must be NULL.+ $groupTitle = null;+// #8844, if there are more, use the recurrence transaction itself.if ($count > 1) {$groupTitle = $recurrence->title;