Permalink
Browse files

Fail back to Other

  • Loading branch information...
1 parent 1258ecc commit 923fe2b756dfe045b24dab5c6efddb9961bf1f36 @brewpoo committed May 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/brewser/engines/beerxml.rb
@@ -402,7 +402,7 @@ class BeerXML::Recipe < Brewser::Recipe
def cleanup
self.recipe_volume = display_batch_size.present? ? display_batch_size.u : "#{uncast_batch_size} l".u
self.boil_volume = display_boil_size.present? ? display_boil_size.u : "#{uncast_boil_size} l".u
- self.type = style.type
+ self.type = style.type || "Other"
mash_schedule.cleanup
hops.each(&:cleanup)
fermentables.each(&:cleanup)

0 comments on commit 923fe2b

Please sign in to comment.