lib/bolognese/datacite_utils.rb in bolognese-1.5.14 vs lib/bolognese/datacite_utils.rb in bolognese-1.5.15
- old
+ new
@@ -168,12 +168,12 @@
end
end
end
def insert_version(xml)
- return xml unless version.present?
+ return xml unless version_info.present?
- xml.version(version)
+ xml.version(version_info)
end
def insert_language(xml)
return xml unless language.present?