From 8af99bbd8483f738ec51366609b65a2b752ea164 Mon Sep 17 00:00:00 2001 From: Dan Cruson Date: Sun, 22 Jun 2014 18:21:33 -0400 Subject: [PATCH] Update 4.5.alpha2.mysql.tpl CRM-14843 Correct the update query to use name instead of id as id could be different in other installs. --- CRM/Upgrade/Incremental/sql/4.5.alpha2.mysql.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Upgrade/Incremental/sql/4.5.alpha2.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.5.alpha2.mysql.tpl index 053d253230..a876957045 100644 --- a/CRM/Upgrade/Incremental/sql/4.5.alpha2.mysql.tpl +++ b/CRM/Upgrade/Incremental/sql/4.5.alpha2.mysql.tpl @@ -22,7 +22,7 @@ INSERT IGNORE INTO civicrm_state_province (id, country_id, abbreviation, name) V UPDATE civicrm_state_province SET name = "Santiago Metropolitan", abbreviation = "SM" - WHERE id = "2100"; + WHERE name = "Region Metropolitana de Santiago" AND abbreviation = "RM"; -- CRM-14879 contact fields for scheduled reminders INSERT INTO civicrm_action_mapping -- 2.25.1