From 99a40961fabc9e2d7ad38277a05656c7a9162a1e Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Wed, 25 Jan 2017 16:12:48 +0100 Subject: [PATCH] fix problem with protocol export --- app/utilities/protocols_exporter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/utilities/protocols_exporter.rb b/app/utilities/protocols_exporter.rb index 323bdc8c0..d14fa0bbb 100644 --- a/app/utilities/protocols_exporter.rb +++ b/app/utilities/protocols_exporter.rb @@ -94,9 +94,9 @@ module ProtocolsExporter checklist_xml = "\n" checklist_xml << "#{checklist.name}\n" - if checklist.items + if checklist.checklist_items checklist_xml << "\n" - checklist.items.each do |item| + checklist.checklist_items.each do |item| item_xml = "\n"