mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
Not initialising `product.variant_names` causes it to become the string "undefinedVariant1Variant2" while it should just be "Variant1Variant2". This mistake did not matter when `variant_names` was just used to search for a sub-string. A recent change to search only for the beginning of a word, caused this to fail. See: https://github.com/openfoodfoundation/openfoodnetwork/pull/1545