mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fixed home transaction-list [skip ci]
This commit is contained in:
parent
7ffb936aba
commit
2d77481ff5
@ -39,8 +39,13 @@ class HomeController extends BaseController
|
||||
|
||||
// get the preference for the home accounts to show:
|
||||
$frontpage = $this->_preferences->get('frontpageAccounts', []);
|
||||
if($frontpage->data == []) {
|
||||
$accounts = $this->_accounts->getActiveDefault();
|
||||
} else {
|
||||
$accounts = $this->_accounts->getByIds($frontpage->data);
|
||||
}
|
||||
|
||||
|
||||
$accounts = $this->_accounts->getByIds($frontpage->data);
|
||||
|
||||
$transactions = [];
|
||||
foreach($accounts as $account) {
|
||||
|
Loading…
Reference in New Issue
Block a user