Skip to content

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wpoynter committed Jul 19, 2016
1 parent 838c6b6 commit 4e154d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/question.rb
Expand Up @@ -65,7 +65,7 @@ def update_rds(rds)

if self.response_domains.length < rds.length
# There are rds to add
if self.rds_qs.nil?
if self.rds_qs.length < 1
highest_rd_order = 0
else
highest_rd_order = self.rds_qs.order(:rd_order).last.rd_order
Expand Down

0 comments on commit 4e154d6

Please sign in to comment.