Commit d5fbb6c385637b2b5f773ae7df9d7490d18c4e6f

Authored by Administrator
1 parent 9c7c486e

20.07.16

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
common/modules/product/models/Category.php
... ... @@ -215,7 +215,7 @@ class Category extends \yii\db\ActiveRecord
215 215  
216 216 public function beforeDelete()
217 217 {
218   - print_r($this->products);
  218 + print_r($this->products->deleteAll());
219 219 die();
220 220 }
221 221  
... ...