diff --git a/common/modules/product/models/Category.php b/common/modules/product/models/Category.php index 6bf3ac4..0253f13 100755 --- a/common/modules/product/models/Category.php +++ b/common/modules/product/models/Category.php @@ -221,7 +221,7 @@ class Category extends \yii\db\ActiveRecord $product->delete(); } } - die(); + return true; } } -- libgit2 0.21.4