If you have the attribute Black in the tweakwise_attribute_slug_table with the value slug value black-1. And tweakwise sends the color 'black'. The correct slug is not found. It should return black-1. But you get black because the attribute could not be found. In most cases this causes no problem but if the slug 'black' already exists it translates back to the wrong value for TW.
In this fix we make sure an slug is found for Black regardless of the case.
If you have the attribute Black in the tweakwise_attribute_slug_table with the value slug value black-1. And tweakwise sends the color 'black'. The correct slug is not found. It should return black-1. But you get black because the attribute could not be found. In most cases this causes no problem but if the slug 'black' already exists it translates back to the wrong value for TW.
In this fix we make sure an slug is found for Black regardless of the case.