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"