FIX: symbols and strings should be treated similarly while saving custom fields

FIX: symbols and strings should be treated similarly while saving custom fields

diff --git a/app/models/concerns/has_custom_fields.rb b/app/models/concerns/has_custom_fields.rb
index 0bb3fc5..3d6b524 100644
--- a/app/models/concerns/has_custom_fields.rb
+++ b/app/models/concerns/has_custom_fields.rb
@@ -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

GitHub sha: 352ad826

This commit appears in #10486 which was approved by eviltrout. It was merged by eviltrout.