fix for CRM-13207
authorkurund <kurund@civicrm.org>
Tue, 13 Aug 2013 11:15:31 +0000 (16:45 +0530)
committerkurund <kurund@civicrm.org>
Tue, 13 Aug 2013 11:15:31 +0000 (16:45 +0530)
----------------------------------------
* CRM-13207: Offline contribution in standalone mode is broken
  http://issues.civicrm.org/jira/browse/CRM-13207

templates/CRM/Contribute/Form/Contribution.tpl

index 23d313564a47606c339aba2c5b451abb70e09e02..3c144ce3081ddd36f5644d16be49eb8c7d30f194 100644 (file)
@@ -88,7 +88,8 @@
       {if !$contributionMode and !$email and $outBound_option != 2}
         {assign var='profileCreateCallback' value=1 }
       {/if}
-      {include file="CRM/Contact/Form/NewContact.tpl"}
+      {* note that if we are using multiple instances of NewContact always pass values for block and prefix *}
+      {include file="CRM/Contact/Form/NewContact.tpl" blockNo=1 prefix=''}
     {/if}
     {if $contributionMode}
     <tr class="crm-contribution-form-block-payment_processor_id"><td class="label nowrap">{$form.payment_processor_id.label}<span class="marker"> * </span></td><td>{$form.payment_processor_id.html}</td></tr>