diff --git a/templates/CRM/Contribute/Form/UpdateSubscription.tpl b/templates/CRM/Contribute/Form/UpdateSubscription.tpl index a31e6b07af7f..3f73dc4a5360 100644 --- a/templates/CRM/Contribute/Form/UpdateSubscription.tpl +++ b/templates/CRM/Contribute/Form/UpdateSubscription.tpl @@ -29,8 +29,14 @@ {$form.amount.label} {$form.currency.html|crmAddClass:eight} {$form.amount.html|crmAddClass:eight} ({ts}every{/ts} {$recur_frequency_interval} {$recur_frequency_unit}) - {$form.installments.label}{$form.installments.html}
- {ts}Total number of payments to be made. Set this to 0 if this is an open-ended commitment i.e. no set end date.{/ts} + {if array_key_exists('installments', $form)} + + {$form.installments.label} + {$form.installments.html}
+ {ts}Total number of payments to be made. Set this to 0 if this is an open-ended commitment i.e. no set end date.{/ts} + + + {/if} {foreach from=$editableScheduleFields item='field'} {$form.$field.label}{$form.$field.html} {/foreach}