Administrator
/
new_rukzachok-1
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
7369821d24a63cdf48e308d9dd8368786bc93212
Authored by
Administrator
2016-08-01 16:33:45 +0300
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
Inline
Side-by-side
common/modules/product/models/Category.php
Wrap text
Show/Hide comments
View file @
7369821
...
...
@@ -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
...
...