if ($membershipType['auto_renew'] && empty($this->priceSetMetadata['auto_renew_membership_field'])) {
// Quick form layer supports one auto-renew membership type per price set. If we
// want more for any reason we can add another array property.
- $this->priceSetMetadata['auto_renew_membership_field'] = (int) $option['membership_type_id'];
+ $this->priceSetMetadata['auto_renew_membership_field'] = (int) $option['id'];
}
}
}
<div class='label'></div>
<div class='content' id="auto_renew_section">
{if $form.auto_renew}
- {$form.auto_renew.html} {$form.auto_renew.label|escape}
+ {$form.auto_renew.html} {$form.auto_renew.label|smarty:nodefaults|purify}
{/if}
</div>
<div class='content' id="force_renew" style='display: none'>{ts}Membership will renew automatically.{/ts}</div>