mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 18:54:58 +00:00 
			
		
		
		
	Various code cleanup.
This commit is contained in:
		| @@ -117,7 +117,7 @@ class IndexController extends Controller | ||||
|         $sums    = $this->getSums($budgets); | ||||
|  | ||||
|         // get budgeted for default currency: | ||||
|         if (0 === count($availableBudgets)) { | ||||
|         if (empty($availableBudgets)) { | ||||
|             $budgeted = $this->blRepository->budgeted($start, $end, $defaultCurrency,); | ||||
|             $spentArr = $this->opsRepository->sumExpenses($start, $end, null, null, $defaultCurrency); | ||||
|             $spent    = $spentArr[$defaultCurrency->id]['sum'] ?? '0'; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user