mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-20 11:48:27 -06:00
Fix issue in bill transformer.
This commit is contained in:
parent
70f46338db
commit
6ab462a795
@ -86,7 +86,7 @@ class BillTransformer extends AbstractTransformer
|
||||
foreach ($payDates as $string) {
|
||||
$payDatesFormatted[] = Carbon::createFromFormat('!Y-m-d', $string, config('app.timezone'))->toAtomString();
|
||||
}
|
||||
$nextExpectedMatch = null;
|
||||
$nextExpectedMatch = '';
|
||||
if (null !== ($payDates[0] ?? null)) {
|
||||
$nextExpectedMatch = Carbon::createFromFormat('!Y-m-d', $payDates[0], config('app.timezone'))->toAtomString();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user