Skip to content
Snippets Groups Projects
Commit c1e61576 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix

parent 29e30fa2
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,6 @@ module Communication::Website::Agenda::Event::WithTime
def to_hour_after_from_hour_on_same_day
return if from_day != to_day
errors.add(:to_hour, :too_soon) if to_hour.present? && from_hour.present? && to_hour < from_hour
errors.add(:to_hour, :too_soon) if to_hour.present? && from_hour.present? && to_hour <= from_hour
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment