0

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.

Ahmed Ashour
  • 5,179
  • 10
  • 35
  • 56

1 Answers1

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);
Ildar Amankulov
  • 526
  • 4
  • 19