mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-11-04 05:15:39 +00:00 
			
		
		
		
	Fix nullpointer.
This commit is contained in:
		@@ -108,6 +108,7 @@ class IndexController extends Controller
 | 
			
		||||
                $account->interest          = number_format((float)$this->repository->getMetaValue($account, 'interest'), 4, '.', '');
 | 
			
		||||
                $account->interestPeriod    = (string)trans(sprintf('firefly.interest_calc_%s', $this->repository->getMetaValue($account, 'interest_period')));
 | 
			
		||||
                $account->accountTypeString = (string)trans(sprintf('firefly.account_type_%s', $account->accountType->type));
 | 
			
		||||
                $account->current_debt      = '0';
 | 
			
		||||
            }
 | 
			
		||||
        );
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user