mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-11 23:24:29 +08:00
Merge pull request #453 from mlorb/ml_sci_950
Fix problem with protocol export [SCI-950]
This commit is contained in:
commit
bedef297c4
1 changed files with 2 additions and 2 deletions
|
@ -94,9 +94,9 @@ module ProtocolsExporter
|
|||
checklist_xml = "<checklist id=\"#{checklist.id}\" " \
|
||||
"guid=\"#{get_guid(checklist.id)}\">\n"
|
||||
checklist_xml << "<name>#{checklist.name}</name>\n"
|
||||
if checklist.items
|
||||
if checklist.checklist_items
|
||||
checklist_xml << "<items>\n"
|
||||
checklist.items.each do |item|
|
||||
checklist.checklist_items.each do |item|
|
||||
item_xml = "<item id=\"#{item.id}\" " \
|
||||
"guid=\"#{get_guid(item.id)}\" " \
|
||||
"position=\"#{item.position}\">\n"
|
||||
|
|
Loading…
Reference in a new issue