diff --git a/templates/CRM/Activity/Form/ActivityLinks.tpl b/templates/CRM/Activity/Form/ActivityLinks.tpl index 689b4e3cf1b2..3c9edf99cafe 100644 --- a/templates/CRM/Activity/Form/ActivityLinks.tpl +++ b/templates/CRM/Activity/Form/ActivityLinks.tpl @@ -9,7 +9,7 @@ *} {* Links for scheduling/logging meetings and calls and Sending Email *} -{if $contact_id } +{if !empty($contact_id) } {assign var = "contactId" value= $contact_id } {/if} diff --git a/templates/CRM/Contact/Page/Inline/Demographics.tpl b/templates/CRM/Contact/Page/Inline/Demographics.tpl index a0c2be1de5bd..e7e2ce5526b3 100644 --- a/templates/CRM/Contact/Page/Inline/Demographics.tpl +++ b/templates/CRM/Contact/Page/Inline/Demographics.tpl @@ -16,7 +16,7 @@ {/if}