mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 16:17:32 +08:00

Previously, when we used `params[:custom_fields].try(:keys)` code it worked for all the custom fields unless it's an array. It created the problem in the discourse-restricted-replies plugin. https://github.com/discourse/discourse-restricted-replies/pull/37#issuecomment-1194207693