From 43d1a3dfa30d8f3bfae545ea845ad5976880beac Mon Sep 17 00:00:00 2001 From: yashodha Date: Thu, 9 Jan 2014 10:10:20 +0530 Subject: [PATCH] CRM-13912: upgrade fix --- CRM/Upgrade/Incremental/sql/4.5.alpha1.mysql.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Upgrade/Incremental/sql/4.5.alpha1.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.5.alpha1.mysql.tpl index 330b6bfaf3..baee09572e 100644 --- a/CRM/Upgrade/Incremental/sql/4.5.alpha1.mysql.tpl +++ b/CRM/Upgrade/Incremental/sql/4.5.alpha1.mysql.tpl @@ -111,7 +111,7 @@ VALUES SELECT @option_group_id_msg_mode := max(id) from civicrm_option_group where name = 'msg_mode'; INSERT INTO -civicrm_option_value (option_group_id, label, value, name, is_default, weight, is_reserved, is_active) +civicrm_option_value (option_group_id, {localize field='label'}`label`{/localize}, value, name, is_default, weight, is_reserved, is_active) VALUES (@option_group_id_msg_mode, {localize}'{ts escape="sql"}Email{/ts}'{/localize}, 'Email', 'Email', 1, 1, 1, 1), (@option_group_id_msg_mode, {localize}'{ts escape="sql"}SMS{/ts}'{/localize},'SMS', 'SMS', 0, 2, 1, 1), -- 2.25.1