Commit 42095189 authored by bgm's avatar bgm Committed by bgm
Browse files

Fix a syntax error

parent 0d9e92d5
...@@ -13,7 +13,7 @@ class CRM_Discountcontributions_Contribute_Form_Contribution_Main { ...@@ -13,7 +13,7 @@ class CRM_Discountcontributions_Contribute_Form_Contribution_Main {
// Force CiviDiscount to kick-in on the payment form. // Force CiviDiscount to kick-in on the payment form.
// Based on cividiscount_civicrm_buildForm(). // Based on cividiscount_civicrm_buildForm().
_cividiscount_add_discount_textfield($form); _cividiscount_add_discount_textfield($form);
$code = trim(CRM_Utils_Request::retrieveValue('discountcode', 'String'); $code = trim(CRM_Utils_Request::retrieveValue('discountcode', 'String'));
if ($code) { if ($code) {
$form->setDefaults([ $form->setDefaults([
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment