Skip to content

Commit

Permalink
Merged pull request spree-contrib#1 from vjcharles/master.
Browse files Browse the repository at this point in the history
just pushed a little fix
  • Loading branch information
schof committed Apr 26, 2011
2 parents 39a3b00 + bb66ed7 commit 059f638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/checkout_controller_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def order_opts(order, payment_method, stage)
items = order.line_items.map do |item|
price = (item.price * 100).to_i # convert for gateway
{ :name => item.variant.product.name,
:description => item.variant.product.description[0..120],
:description => (item.variant.product.description[0..120] if item.variant.product.description),
:sku => item.variant.sku,
:qty => item.quantity,
:amount => price,
Expand Down

0 comments on commit 059f638

Please sign in to comment.