Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix issue with preferences object.
James Colea8e4fbb7b64a
diff --git a/app/Http/Controllers/PreferencesController.php b/app/Http/Controllers/PreferencesController.phpindex be8226b255..9cf77680b1 100644--- a/app/Http/Controllers/PreferencesController.php+++ b/app/Http/Controllers/PreferencesController.php@@ -96,9 +96,7 @@ class PreferencesController extends Controllerksort($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');