mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Merge pull request #7009 from firefly-iii/fix-object-call
Fix issue with preferences object.
This commit is contained in:
commit
fb595bb335
@ -96,9 +96,7 @@ class PreferencesController extends Controller
|
|||||||
ksort($groupedAccounts);
|
ksort($groupedAccounts);
|
||||||
|
|
||||||
$accountIds = $accounts->pluck('id')->toArray();
|
$accountIds = $accounts->pluck('id')->toArray();
|
||||||
$viewRangePref = app('navigation')->getViewRange(false);
|
$viewRange = app('navigation')->getViewRange(false);
|
||||||
|
|
||||||
$viewRange = $viewRangePref->data;
|
|
||||||
$frontPageAccounts = app('preferences')->get('frontPageAccounts', $accountIds);
|
$frontPageAccounts = app('preferences')->get('frontPageAccounts', $accountIds);
|
||||||
$language = app('steam')->getLanguage();
|
$language = app('steam')->getLanguage();
|
||||||
$languages = config('firefly.languages');
|
$languages = config('firefly.languages');
|
||||||
|
Loading…
Reference in New Issue
Block a user