Skip to content

Instantly share code, notes, and snippets.

@jitendrapurohit
Created November 21, 2016 11:41
Show Gist options
  • Save jitendrapurohit/27f59011a9dc28620bdf1a15e42ec069 to your computer and use it in GitHub Desktop.
Save jitendrapurohit/27f59011a9dc28620bdf1a15e42ec069 to your computer and use it in GitHub Desktop.
diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php
index 3890084..c032899 100644
--- a/CRM/Contribute/Form/Contribution/Confirm.php
+++ b/CRM/Contribute/Form/Contribution/Confirm.php
@@ -1540,6 +1540,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
);
$form->set('renewal_mode', $renewalMode);
+ $form->assign('renewal_mode', $renewalMode);
if (!empty($dates)) {
$form->assign('mem_start_date', CRM_Utils_Date::customFormat($dates['start_date'], '%Y%m%d'));
$form->assign('mem_end_date', CRM_Utils_Date::customFormat($dates['end_date'], '%Y%m%d'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment