Skip to content

Commit

Permalink
Avoid error msg when migel is not defined?
Browse files Browse the repository at this point in the history
  • Loading branch information
ngiger committed Mar 25, 2014
1 parent 1eb39e7 commit cad1bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/drugs/centeredsearchform.rb
Expand Up @@ -317,7 +317,7 @@ def heading(model)
when ODDB::Package
@lookandfeel.lookup(:feedback_rss_title,
parent.name, parent.size)
when ODDB::Migel::Product
when defined?(ODDB::Migel::Product) && ODDB::Migel::Product
parent.name
end
link
Expand Down

0 comments on commit cad1bca

Please sign in to comment.