app/mixin_logic/metadata_helper.rb in umlaut-4.1.0.pre3 vs app/mixin_logic/metadata_helper.rb in umlaut-4.1.0

- old
+ new

@@ -249,10 +249,10 @@ # Gets isbn, also removes any weird stuff on the end sometimes # included as 'isbn', but not part of the isbn. Like (paperback) # and such. def get_isbn(rft) isbn = get_identifier(:urn, "isbn", rft) - isbn = isbn.gsub(/[^\dX-]/, '') if isbn + isbn = isbn.gsub(/[^\dX]/, '') if isbn return nil if isbn.blank? return isbn end def get_oclcnum(rft)