Merge pull request #2308 from civicrm/4.4
[civicrm-core.git] / templates / CRM / Contact / Form / NewContact.tpl
index dbbd3d1abd8ff574fe00621af7a6e02403748de8..41d5f35b33c597d5f01b876ceb440b884826931a 100644 (file)
@@ -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'}