In 1.5.7, when copying a product to a new one, the master category might not get set for the new category.

The fix: https://github.com/zencart/zencart/c...f8c16ffb71c42a