diff --git a/templates/CRM/Activity/Form/Activity.tpl b/templates/CRM/Activity/Form/Activity.tpl
index 9069edfc8887..e43909aa4ded 100644
--- a/templates/CRM/Activity/Form/Activity.tpl
+++ b/templates/CRM/Activity/Form/Activity.tpl
@@ -189,9 +189,10 @@
{if $action eq 4}
- {include file="CRM/Custom/Page/CustomDataView.tpl"}
- {else}
+ {include file="CRM/Custom/Page/CustomDataView.tpl"}
+ {else}
+ {include file="CRM/common/customDataBlock.tpl"}
{/if}
|
@@ -293,8 +294,6 @@
});
{/literal}
-
- {include file="CRM/common/customDataBlock.tpl"}
{/if}
{* end of form block*}