Skip to content

Commit

Permalink
Avoid errors in additonal_information
Browse files Browse the repository at this point in the history
  • Loading branch information
ngiger committed Mar 25, 2014
1 parent 0d1fbed commit dcd7052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/package.rb
Expand Up @@ -30,7 +30,7 @@ def registration_data(*names)
names.each { |name|
define_method(name) {
if(@sequence && @sequence.respond_to?(:registration) && (reg = @sequence.registration))
reg.send(name)
reg.send(name) if reg.respond_to?(name)
end
}
}
Expand Down

0 comments on commit dcd7052

Please sign in to comment.