From a645bcb32d329a87c0545b5b198c5b0968fa9a28 Mon Sep 17 00:00:00 2001 From: Zanz2 Date: Wed, 25 Oct 2017 17:21:05 +0200 Subject: [PATCH] fixed oversight;Changed double quote to single --- .../import_export/_import_json_protocol_s_desc.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/protocols/import_export/_import_json_protocol_s_desc.html.erb b/app/views/protocols/import_export/_import_json_protocol_s_desc.html.erb index 167b7191a..6d161af63 100644 --- a/app/views/protocols/import_export/_import_json_protocol_s_desc.html.erb +++ b/app/views/protocols/import_export/_import_json_protocol_s_desc.html.erb @@ -17,7 +17,7 @@ <% step['components'].each do |key1,value1| #finding section (title of step) %> <% key1 = value1 if value1.class == Hash %> <% if(key1['component_type_id']=='6') %> - <% title = sanitize_input(key1["data"]) if key1["data"].present? %> + <% title = sanitize_input(key1['data']) if key1['data'].present? %> <% end %> <% end %> <% title ||=t('protocols.protocols_io_import.comp_append.missing_step') %>