fix bug in signup plus posa claim

This commit is contained in:
Seth Call 2016-10-02 22:26:47 -05:00
parent 60543897d4
commit 2d1c4bc507
1 changed files with 1 additions and 1 deletions

View File

@ -1337,7 +1337,7 @@ module JamRuby
if gift_card
# first try posa card
posa_card = PosaCard.where(code: gift_card)
posa_card = PosaCard.where(code: gift_card).first
if posa_card
posa_card.claim(user)