Skip to content

Commit

Permalink
fixed duplicated key
Browse files Browse the repository at this point in the history
  • Loading branch information
skoba committed May 21, 2015
2 parents ef2dc86 + d3bd159 commit 962e3e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/openehr/assumed_library_types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def lower_included?
end

def lower_included=(lower_included)
if (lower == nil) && (lower_included != nil)
if (lower.nil?) && (!lower_included.nil?)
raise ArgumentError, "lower is not set"
end
lower_included = true if !lower.nil? && lower_included.nil?
Expand Down
2 changes: 1 addition & 1 deletion lib/openehr/rm/common/change_control.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def initialize(args = { })
self.item = args[:item]
super(:uid => @item.uid,
:preceding_version_uid => @item.preceding_version_uid,
:data => @item.data, :commit_audit=> args[:commit_audit],
:data => @item.data,
:commit_audit => args[:commit_audit],
:contribution => args[:contribution],
:lifecycle_state => @item.lifecycle_state,
Expand Down

0 comments on commit 962e3e5

Please sign in to comment.