Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Bit of code cleanup + the true/false in SHOW_INCOMPLETE_TRANSLATIONS is not a text but a boolean. Changed as such.
James Cole7288ba0fd791
diff --git a/app/Http/Controllers/PreferencesController.php b/app/Http/Controllers/PreferencesController.phpindex a0948c0f34..f27a73797c 100644--- a/app/Http/Controllers/PreferencesController.php+++ b/app/Http/Controllers/PreferencesController.php@@ -43,12 +43,14 @@ class PreferencesController extends Controller$fiscalYearStartStr = Preferences::get('fiscalYearStart', '01-01')->data;$fiscalYearStart = date('Y') . '-' . $fiscalYearStartStr;$twoFactorAuthEnabled = Preferences::get('twoFactorAuthEnabled', 0)->data;-- $showIncomplete = env('SHOW_INCOMPLETE_TRANSLATIONS', 'false') == 'true';+ $showIncomplete = env('SHOW_INCOMPLETE_TRANSLATIONS', false) === true;return view('preferences.index',- compact('budgetMaximum', 'language', 'accounts', 'frontPageAccounts', 'viewRange', 'customFiscalYear', 'fiscalYearStart', 'twoFactorAuthEnabled', 'showIncomplete')+ compact(+ 'budgetMaximum', 'language', 'accounts', 'frontPageAccounts', 'viewRange', 'customFiscalYear', 'fiscalYearStart', 'twoFactorAuthEnabled',+ 'showIncomplete'+ ));}