Add instructions field into the skip fields array
authorSeamus Lee <seamuslee001@gmail.com>
Tue, 2 May 2023 01:49:17 +0000 (11:49 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Tue, 2 May 2023 01:49:17 +0000 (11:49 +1000)
CRM/Utils/API/HTMLInputCoder.php

index 55dfffdd8e5ecc08a93a2983aa69d61846371c80..8e8dca79c1e55f95321d0b5c74f24d3b9409157c 100644 (file)
@@ -115,6 +115,8 @@ class CRM_Utils_API_HTMLInputCoder extends CRM_Utils_API_AbstractFieldCoder {
         'settings',
         // SearchSegment items
         'items',
+        // Survey entity
+        'instructions',
       ];
       $custom = CRM_Core_DAO::executeQuery('SELECT id FROM civicrm_custom_field WHERE html_type = "RichTextEditor"');
       while ($custom->fetch()) {