mirror of
https://github.com/discourse/discourse.git
synced 2025-03-30 17:35:36 +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