aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/compliance_check_sets_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/compliance_check_sets_controller.rb b/app/controllers/compliance_check_sets_controller.rb
index 7d964731d..d61fbafdb 100644
--- a/app/controllers/compliance_check_sets_controller.rb
+++ b/app/controllers/compliance_check_sets_controller.rb
@@ -30,7 +30,7 @@ class ComplianceCheckSetsController < BreadcrumbController
start_date << params[:q][:created_at]["begin(#{key}i)"].to_i
end_date << params[:q][:created_at]["end(#{key}i)"].to_i
end
- params[:q].delete([:created_at])
+ params[:q].delete(:created_at)
@begin_range = DateTime.new(*start_date, 0, 0, 0) rescue nil
@end_range = DateTime.new(*end_date, 23, 59, 59) rescue nil
end