mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix for level 2
This commit is contained in:
@@ -70,7 +70,6 @@ class RepairsAccountBalances extends Command
|
||||
|
||||
private function correctBalanceAmounts(): void
|
||||
{
|
||||
return;
|
||||
AccountBalanceCalculator::recalculateAll(true);
|
||||
AccountBalanceCalculator::recalculateAll(false);
|
||||
}
|
||||
}
|
||||
|
@@ -240,7 +240,7 @@ class UpgradesVariousCurrencyInformation extends Command
|
||||
|
||||
private function isMultiCurrency(Account $account): bool
|
||||
{
|
||||
$value = $this->accountRepos->getMetaValue($account, 'is_multi_currency', false);
|
||||
$value = $this->accountRepos->getMetaValue($account, 'is_multi_currency');
|
||||
if (false === $value || null === $value) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user