##// END OF EJS Templates
Code cleanup....
Jean-Philippe Lang -
r10460:1a9d482fc996
parent child
Show More
@@ -533,7 +533,7 class Issue < ActiveRecord::Base
533 errors.add :start_date, :not_a_date
533 errors.add :start_date, :not_a_date
534 end
534 end
535
535
536 if self.due_date and self.start_date and self.due_date < self.start_date
536 if due_date && start_date && due_date < start_date
537 errors.add :due_date, :greater_than_start_date
537 errors.add :due_date, :greater_than_start_date
538 end
538 end
539
539
General Comments 0
You need to be logged in to leave comments. Login now