lab-1286 - skip report instance header and footer in CRM_Utils_API_HTMLInputCoder
authorMichael McAndrew <michael@3sd.io>
Fri, 17 Jan 2020 12:19:19 +0000 (12:19 +0000)
committerMichael McAndrew <michael@3sd.io>
Fri, 17 Jan 2020 12:19:19 +0000 (12:19 +0000)
CRM/Utils/API/HTMLInputCoder.php

index adf528920cb94c042f4b8d1a9e404a392d487919..fa5de2b9643defb793ab88509ec44e33770f81a7 100644 (file)
@@ -105,6 +105,10 @@ class CRM_Utils_API_HTMLInputCoder extends CRM_Utils_API_AbstractFieldCoder {
         'content',
         // CiviCampaign Goal Details
         'goal_general',
+        // https://lab.civicrm.org/dev/core/issues/1286
+        'header',
+        // https://lab.civicrm.org/dev/core/issues/1286
+        'footer',
       ];
       $custom = CRM_Core_DAO::executeQuery('SELECT id FROM civicrm_custom_field WHERE html_type = "RichTextEditor"');
       while ($custom->fetch()) {