aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index ed1523f75..289f51b20 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -457,7 +457,7 @@ class ApplicationController < ActionController::Base
end
def param_exists(item)
- return params[item] && !params[item].empty?
+ params.has_key?(item)
end
def get_request_variety_from_params