mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 01:42:19 +00:00
Fix issue in bill transformer.
This commit is contained in:
@@ -86,7 +86,7 @@ class BillTransformer extends AbstractTransformer
|
|||||||
foreach ($payDates as $string) {
|
foreach ($payDates as $string) {
|
||||||
$payDatesFormatted[] = Carbon::createFromFormat('!Y-m-d', $string, config('app.timezone'))->toAtomString();
|
$payDatesFormatted[] = Carbon::createFromFormat('!Y-m-d', $string, config('app.timezone'))->toAtomString();
|
||||||
}
|
}
|
||||||
$nextExpectedMatch = null;
|
$nextExpectedMatch = '';
|
||||||
if (null !== ($payDates[0] ?? null)) {
|
if (null !== ($payDates[0] ?? null)) {
|
||||||
$nextExpectedMatch = Carbon::createFromFormat('!Y-m-d', $payDates[0], config('app.timezone'))->toAtomString();
|
$nextExpectedMatch = Carbon::createFromFormat('!Y-m-d', $payDates[0], config('app.timezone'))->toAtomString();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user