Permalink
Browse files

iva_cond is a symbol.

  • Loading branch information...
1 parent 3951136 commit 9e937f36081d2562c61067fc68161d5f27eb0b73 @miloops committed Dec 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bravo/bill.rb
View
@@ -25,7 +25,7 @@ def initialize(attrs = {})
end
def cbte_type
- Bravo::BILL_TYPE[iva_cond] ||
+ Bravo::BILL_TYPE[iva_cond.to_sym] ||
raise(NullOrInvalidAttribute.new, "Please choose a valid document type.")
end

0 comments on commit 9e937f3

Please sign in to comment.