mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 11:02:46 +08:00
FIX: symbols and strings should be treated similarly while saving custom fields
This commit is contained in:
parent
71e747b160
commit
352ad826c1
|
@ -203,7 +203,7 @@ module HasCustomFields
|
|||
|
||||
def save_custom_fields(force = false)
|
||||
if force || !custom_fields_clean?
|
||||
dup = @custom_fields.dup
|
||||
dup = @custom_fields.dup.with_indifferent_access
|
||||
array_fields = {}
|
||||
|
||||
ActiveRecord::Base.transaction do
|
||||
|
|
Loading…
Reference in New Issue
Block a user