Merge pull request #7009 from firefly-iii/fix-object-call

Fix issue with preferences object.
This commit is contained in:
James Cole 2023-02-11 10:17:33 +01:00 committed by GitHub
commit fb595bb335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,9 +96,7 @@ class PreferencesController extends Controller
ksort($groupedAccounts);
$accountIds = $accounts->pluck('id')->toArray();
$viewRangePref = app('navigation')->getViewRange(false);
$viewRange = $viewRangePref->data;
$viewRange = app('navigation')->getViewRange(false);
$frontPageAccounts = app('preferences')->get('frontPageAccounts', $accountIds);
$language = app('steam')->getLanguage();
$languages = config('firefly.languages');