Index: branches/5.3.x/install/upgrades.sql
===================================================================
diff -u -N -r16548 -r16732
--- branches/5.3.x/install/upgrades.sql	(.../upgrades.sql)	(revision 16548)
+++ branches/5.3.x/install/upgrades.sql	(.../upgrades.sql)	(revision 16732)
@@ -314,3 +314,7 @@
 
 INSERT INTO SearchConfig VALUES ('Products', 'MetaKeywords', 0, 1, '', 'lc_field_MetaKeywords', 'In-Commerce', 'la_Text_Products', 24, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
 INSERT INTO SearchConfig VALUES ('Products', 'MetaDescription', 0, 1, '', 'lc_field_MetaDescription', 'In-Commerce', 'la_Text_Products', 25, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+
+UPDATE SystemSettings
+SET VariableValue = CONCAT(VariableValue, ',affiliate_id,shop_cart_cookie,compare_products')
+WHERE VariableName = 'EncryptedCookies' AND VariableValue NOT LIKE '%,affiliate_id,shop_cart_cookie,compare_products%';
