diff --git a/app/controllers/people_skills/filter_params.rb b/app/controllers/people_skills/filter_params.rb index 13b8c66af..ce5a4d971 100644 --- a/app/controllers/people_skills/filter_params.rb +++ b/app/controllers/people_skills/filter_params.rb @@ -40,7 +40,7 @@ def interest_of_row(row_id) end def skill_of_row(row_id) - skill_ids.nil? ? nil : skill_ids[row_id].to_i + skill_ids[row_id]&.to_i end def query_params