Commit 7369821d24a63cdf48e308d9dd8368786bc93212

Authored by Administrator
1 parent 6061be64

20.07.16

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
common/modules/product/models/Category.php
... ... @@ -221,6 +221,7 @@ class Category extends \yii\db\ActiveRecord
221 221 $product->delete();
222 222 }
223 223 }
  224 + $this->unlinkAll('product_category');
224 225 return true;
225 226 }
226 227  
... ...