diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mauve/web_interface.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mauve/web_interface.rb b/lib/mauve/web_interface.rb index 520f344..de12291 100644 --- a/lib/mauve/web_interface.rb +++ b/lib/mauve/web_interface.rb @@ -231,6 +231,7 @@ EOF # # Sanitise parameters # + n_hours = ( n_hours > 300 ? 300 : n_hours ) type_hours = "daytime" unless %w(daytime working wallclock).include?(type_hours) ack_until = Time.now.in_x_hours(n_hours, type_hours) |