Skip to content

Firefly III: a personal finances manager

Replace frontpageAccounts variable name.

James Coledc6d70889743
diff --git a/resources/views/preferences/index.twig b/resources/views/preferences/index.twig
index 93f6483fa4..e595f09776 100644
--- a/resources/views/preferences/index.twig
+++ b/resources/views/preferences/index.twig
@@ -146,12 +146,12 @@
<div class="col-sm-10">
<div class="checkbox">
<label>
- {% if id in frontPageAccounts or frontPageAccounts|length == 0 %}
- <input type="checkbox" name="frontPageAccounts[]"
+ {% if id in frontpageAccounts or frontpageAccounts|length == 0 %}
+ <input type="checkbox" name="frontpageAccounts[]"
value="{{ id }}"
checked> {{ name }}
{% else %}
- <input type="checkbox" name="frontPageAccounts[]"
+ <input type="checkbox" name="frontpageAccounts[]"
value="{{ id }}"> {{ name }}
{% endif %}
</label>