mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
72b24f3fb9
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