Skip to content

Commit

Permalink
Merge pull request #14936 from totten/5.15-act-custom
Browse files Browse the repository at this point in the history
(dev/core#1042) Activities - Fix duplicate custom data block
  • Loading branch information
seamuslee001 authored Jul 31, 2019
2 parents 230f015 + 2c1d250 commit 2823cec
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions templates/CRM/Activity/Form/Activity.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,10 @@
<tr class="crm-activity-form-block-custom_data">
<td colspan="2">
{if $action eq 4}
{include file="CRM/Custom/Page/CustomDataView.tpl"}
{else}
{include file="CRM/Custom/Page/CustomDataView.tpl"}
{else}
<div id="customData"></div>
{include file="CRM/common/customDataBlock.tpl"}
{/if}
</td>
</tr>
Expand Down Expand Up @@ -293,8 +294,6 @@
});
</script>
{/literal}

{include file="CRM/common/customDataBlock.tpl"}
{/if}
</div>{* end of form block*}

Expand Down

0 comments on commit 2823cec

Please sign in to comment.