fix small bug where a check was done on a wrong value

This commit is contained in:
Reinier Balt 2008-12-18 10:17:16 +01:00
parent aa4eacc8d6
commit c5598a94ee

View file

@ -369,7 +369,7 @@ class RecurringTodo < ActiveRecord::Base
case self.target
when 'due_date'
return get_next_date(previous)
when 'show_from'
when 'show_from_date'
# so leave due date empty
return nil
else