Skip to content
Snippets Groups Projects
Commit e81d0c88 authored by Dave Greenberg's avatar Dave Greenberg
Browse files

CRM-12233 Add upgrade statement to fix Membership field label for quick config

----------------------------------------
* CRM-12233: Online membership signup - contribution amounts field should not be required + various notices
  http://issues.civicrm.org/jira/browse/CRM-12233
parent 9101a603
No related branches found
No related tags found
No related merge requests found
-- CRM-12142
-- Populate default text for premiums_nothankyou_label
UPDATE `civicrm_premiums` SET {localize field="premiums_nothankyou_label"}premiums_nothankyou_label = '{ts escape="sql"}No thank-you{/ts}'{/localize};
\ No newline at end of file
UPDATE `civicrm_premiums` SET {localize field="premiums_nothankyou_label"}premiums_nothankyou_label = '{ts escape="sql"}No thank-you{/ts}'{/localize};
-- CRM-12233 Fix price field label for quick config membership signup field
UPDATE `civicrm_price_field` cpf
LEFT JOIN `civicrm_price_set` cps ON cps.id = cpf.price_set_id
SET {localize field="label"}cpf.label = '{ts escape="sql"}Membership{/ts}'{/localize}
WHERE cps.is_quick_config = 1 AND cpf.name = 'membership_amount';
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment