问题
I am using xcart
4.7. After removing a manufacturer, all products renamed as restored products and all details are corrupted. I tried to database integrity checking but no result.
回答1:
Thank you, Sarath S Rajendran, for the bug localization.
Fixed in X-Cart 4.7.8. Custom code hasn't to call func_delete_product() without params.
Wrong calls
func_delete_product();
func_delete_product(0);
func_delete_product('');
func_delete_product(null);
Correct calls
func_delete_product(3123);
func_delete_product(3123,false);
func_delete_product(0,false,true);
来源:https://stackoverflow.com/questions/42267453/removing-manufacturer-in-xcart