Skip to content

Commit

Permalink
fix issue #72
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew2net committed Mar 30, 2023
1 parent 66030d9 commit 00626d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/relaton_bib/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RelatonBib
VERSION = "1.14.7".freeze
VERSION = "1.14.8".freeze
end
2 changes: 2 additions & 0 deletions lib/relaton_bib/xml_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@ def fetch_dates(item) # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticCompl
# @return [RelatonBib::Organization, nil] organization
#
def get_org(org) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
return unless org

names = org.xpath("name").map do |n|
{ content: n.text, language: n[:language], script: n[:script] }
end
Expand Down

0 comments on commit 00626d5

Please sign in to comment.