lib/bolognese/datacite_utils.rb in bolognese-1.5.21 vs lib/bolognese/datacite_utils.rb in bolognese-1.6

- old
+ new

@@ -170,12 +170,12 @@ end end end def insert_version(xml) - return xml unless version_info.present? + return xml unless version.present? - xml.version(version_info) + xml.version(version) end def insert_language(xml) return xml unless language.present?