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

CRM-12243 Replaced loop on locales with {localize} tag.

----------------------------------------
* CRM-12243: Beta 4 upgrade fails with duplicate column error if site was originally installed as a 4.3 site
  http://issues.civicrm.org/jira/browse/CRM-12243
parent 35fe5ae1
Branches
Tags
No related merge requests found
-- CRM-12142
-- Populate default text for premiums_nothankyou_label
{if !$multilingual}
UPDATE `civicrm_premiums` SET premiums_nothankyou_label = '{ts escape="sql"}No thank-you{/ts}';
{else}
{foreach from=$locales item=locale}
UPDATE `civicrm_premiums` SET premiums_nothankyou_label_{$locale} = '{ts escape="sql"}No thank-you{/ts}';
{/foreach}
{/if}
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment