diff --git a/api/admin/fixBrandColors.cfm b/api/admin/fixBrandColors.cfm index 89d627b..2c47cb5 100644 --- a/api/admin/fixBrandColors.cfm +++ b/api/admin/fixBrandColors.cfm @@ -6,14 +6,14 @@ qBefore = queryExecute(" SELECT BusinessID, BusinessBrandColor FROM Businesses WHERE BusinessBrandColor LIKE :pattern -", { pattern: { value: "#%", cfsqltype: "cf_sql_varchar" } }, { datasource: "payfrit" }); +", { pattern: { value: "##%", cfsqltype: "cf_sql_varchar" } }, { datasource: "payfrit" }); if (qBefore.recordCount > 0) { queryExecute(" UPDATE Businesses SET BusinessBrandColor = SUBSTRING(BusinessBrandColor, 2) WHERE BusinessBrandColor LIKE :pattern - ", { pattern: { value: "#%", cfsqltype: "cf_sql_varchar" } }, { datasource: "payfrit" }); + ", { pattern: { value: "##%", cfsqltype: "cf_sql_varchar" } }, { datasource: "payfrit" }); } qAfter = queryExecute("