From df28503ec18cac7454de6514e88a3066f27616a1 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Thu, 18 Jan 2018 17:25:20 +0100 Subject: [PATCH] Fix fetching protocol name in protocol import [SCI-1951] --- app/utilities/protocols_exporter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utilities/protocols_exporter.rb b/app/utilities/protocols_exporter.rb index fec668511..5ac3e637a 100644 --- a/app/utilities/protocols_exporter.rb +++ b/app/utilities/protocols_exporter.rb @@ -66,7 +66,7 @@ module ProtocolsExporter protocol_xml = "\n" protocol_xml << "\n" - protocol_xml << "\n" + protocol_xml << "#{protocol_name}\n" protocol_xml << "#{protocol.authors}\n" protocol_xml << "#{protocol.description}\n" protocol_xml << "#{protocol.created_at.as_json}\n"