X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FContact%2FForm%2FNewContact.tpl;h=41d5f35b33c597d5f01b876ceb440b884826931a;hb=730507f70920a6ae9077976fd501e5ccac2fb4b7;hp=dbbd3d1abd8ff574fe00621af7a6e02403748de8;hpb=975cb25ce487df99cd85007450403af12b4f8ccc;p=civicrm-core.git diff --git a/templates/CRM/Contact/Form/NewContact.tpl b/templates/CRM/Contact/Form/NewContact.tpl index dbbd3d1abd..41d5f35b33 100644 --- a/templates/CRM/Contact/Form/NewContact.tpl +++ b/templates/CRM/Contact/Form/NewContact.tpl @@ -24,7 +24,7 @@ +--------------------------------------------------------------------+ *} {* template for adding form elements for selecting existing or creating new contact*} -{if !in_array($context, array('search','advanced', 'builder')) } +{if !in_array($context, array('search','advanced', 'builder')) || $parent eq 'activity'} {assign var='fldName' value=$prefix|cat:'contact'} {assign var='profSelect' value=$prefix|cat:'profiles'}