mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-09 03:08:09 +00:00
Fixed home transaction-list [skip ci]
This commit is contained in:
@@ -39,8 +39,13 @@ class HomeController extends BaseController
|
|||||||
|
|
||||||
// get the preference for the home accounts to show:
|
// get the preference for the home accounts to show:
|
||||||
$frontpage = $this->_preferences->get('frontpageAccounts', []);
|
$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 = [];
|
$transactions = [];
|
||||||
foreach($accounts as $account) {
|
foreach($accounts as $account) {
|
||||||
|
|||||||
Reference in New Issue
Block a user