mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
DEV: Ignore invalid tag parameter in TagsController (#28557)
This had no effect in the app, but it was resulting in errors in the logs.
This commit is contained in:
@ -585,6 +585,6 @@ class TagsController < ::ApplicationController
|
||||
end
|
||||
|
||||
def tag_params
|
||||
Array(params[:tags]).concat(Array(@additional_tags))
|
||||
Array(params[:tags]).map(&:to_s).concat(Array(@additional_tags))
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user