Browse Source

Merge pull request #62 from iusvar/fix_error_when_saving_to_system

Fix error when saving to system
trendschau 5 years ago
parent
commit
7b8d5d9ff5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      system/author/settings/system.twig

+ 2 - 2
system/author/settings/system.twig

@@ -87,7 +87,7 @@
 						{% for format in formats %}
 						{% for format in formats %}
 
 
 							<label class="control-group">{{ __(format) }}
 							<label class="control-group">{{ __(format) }}
-								<input name="settings[formats][]" value="{{ __('format') }}" type="checkbox" {% if format in settings.formats %} checked {% endif %}>
+								<input name="settings[formats][]" value="{{ format }}" type="checkbox" {% if format in settings.formats %} checked {% endif %}>
 								<span class="checkmark"></span>
 								<span class="checkmark"></span>
 							</label>
 							</label>
 
 
@@ -103,4 +103,4 @@
 	
 	
 	</div>
 	</div>
 	
 	
-{% endblock %}
+{% endblock %}