Procházet zdrojové kódy

Merge pull request #62 from iusvar/fix_error_when_saving_to_system

Fix error when saving to system
trendschau před 5 roky
rodič
revize
7b8d5d9ff5
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      system/author/settings/system.twig

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

@@ -87,7 +87,7 @@
 						{% for format in formats %}
 
 							<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>
 							</label>
 
@@ -103,4 +103,4 @@
 	
 	</div>
 	
-{% endblock %}
+{% endblock %}