From 68a550450a91f7b302a2d3df74a51fa08a13a13d Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 28 Oct 2016 18:02:06 +0300 Subject: [PATCH] big commti --- common/modules/product/models/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/modules/product/models/Product.php b/common/modules/product/models/Product.php index 9cb5b89..a97dd22 100755 --- a/common/modules/product/models/Product.php +++ b/common/modules/product/models/Product.php @@ -289,7 +289,7 @@ class Product extends \yii\db\ActiveRecord } public function getActiveProperties($category_id) { - $cacheKey = ['ActiveProperties','id' => $category_id, 'options' =>$this->options]; + $cacheKey = ['ActiveProperties','id' => $category_id, 'options' =>$this->options, 'product_id' => $this->product_id ]; if(!$groups = Yii::$app->cache->get($cacheKey)){ -- libgit2 0.21.4