Skip to content

Commit

Permalink
merged bugfix from Stephen Schaub
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilkie committed Jan 23, 2011
1 parent 6d0adc0 commit f982d7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/paypal/ipn/variables/item.rb
Expand Up @@ -26,8 +26,8 @@ def number_of_cart_items
def item_attribute_value(key, index = nil, delimeter = "")
non_indexed_value = params[key]
index && params["num_cart_items"] ?
params["#{key}#{delimeter}#{index + 1}"]
: non_indexed_value
params["#{key}#{delimeter}#{index + 1}"] :
non_indexed_value
end
end
end
Expand Down

0 comments on commit f982d7e

Please sign in to comment.