Commit 3a714f62 authored by Gregory Roussac's avatar Gregory Roussac

[-] FO : Fix bug #PSCSX-4427, clear color list cache when removing combination

parent 542826dd
......@@ -1435,6 +1435,7 @@ class AdminProductsControllerCore extends AdminController
{
$product->deleteAttributeCombination((int)$id_product_attribute);
$product->checkDefaultAttributes();
Tools::clearColorListCache((int)$product->id);
if (!$product->hasAttributes())
{
$product->cache_default_attribute = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment