From 4ba19f199679d38255e0141d7b5697265884254d Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 1 Aug 2016 16:30:33 +0300 Subject: [PATCH] 20.07.16 --- common/modules/product/models/Category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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