mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-08-19 01:14:43 -05:00
Fix null pointer in available budget calculation.
This commit is contained in:
@@ -150,7 +150,7 @@ class AvailableBudgetCalculator
|
||||
$item->start_date->format('Y-m-d'),
|
||||
$item->end_date->format('Y-m-d')
|
||||
));
|
||||
$this->abRepository->recalculateAmount($availableBudget);
|
||||
$this->abRepository->recalculateAmount($item);
|
||||
}
|
||||
if (!$this->create) {
|
||||
Log::debug('Can stop here. have not been asked to create an available budget.');
|
||||
|
||||
Reference in New Issue
Block a user