Skip to content

Commit

Permalink
修复单双
Browse files Browse the repository at this point in the history
  • Loading branch information
heyunpeng committed Aug 10, 2015
1 parent 8413589 commit 587abc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/tracelogs_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def combination
@totalcoin = totalcoin
curtime = Time.new
for i in 1..6
if params[:tracelogs]["flag#{i}_1"].to_i > 0 or params[:tracelogs]["flag#{i}_2"].to_i > 0 or params[:tracelogs]["flag#{i}_3"].to_i > 0
if params[:tracelogs]["flag#{i}_1"].to_i > 0 or params[:tracelogs]["flag#{i}_2"].to_i > 0 or params[:tracelogs]["flag#{i}_3"].to_i > 0 or params[:tracelogs]["flag#{i}_4"].to_i > 0
if params[:tracelogs]["flag#{i}_1"].to_i > 0
tracelog = Tracelog.new
tracelog.pos = i
Expand Down

0 comments on commit 587abc4

Please sign in to comment.