Skip to content

Commit

Permalink
Merge commit 'ca86a85d21e04d976731161d7e9cb5b0deab3d81' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins committed Sep 12, 2012
2 parents fde8a48 + ca86a85 commit 9199075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/validations.rb
Expand Up @@ -200,7 +200,7 @@ def self.validate_date_is_equal_or_greater_than_today(date_field_name, date, mes


def self.validate_not_before_date_is_equal_or_greater_than_need_by(not_before, need_by, message) def self.validate_not_before_date_is_equal_or_greater_than_need_by(not_before, need_by, message)
if not_before && need_by && not_before < need_by if not_before && need_by && not_before < need_by
@@errors["Not_before"] = message @@errors["Not before"] = message
end end
end end
end end

0 comments on commit 9199075

Please sign in to comment.