Permalink
Browse files

modefiy product pay_money level to one

  • Loading branch information...
bonyz committed Jun 20, 2012
1 parent 741d630 commit edec02c25055d675291e857ff4762862bd998845
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/product.rb
View
@@ -30,7 +30,7 @@ def pay!(member_id, username)
if !parent_id
return true
- elsif parent_id && @@pay_count < 5
+ elsif parent_id && @@pay_count < 1
parent.rjnum = parent.rjnum + self.price*self.percent
parent.t_point = parent.t_point + 1
parent.save!

0 comments on commit edec02c

Please sign in to comment.