From 3fb5ce0c4decd952ff433076ec69ac0dd579f78c Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Thu, 27 Oct 2016 18:24:02 +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 37328ca..f299495 100755 --- a/common/modules/product/models/Product.php +++ b/common/modules/product/models/Product.php @@ -288,7 +288,7 @@ class Product extends \yii\db\ActiveRecord } public function getActiveProperties($category_id) { - $cacheKey = ['ActiveProperties','id' => $category_id]; + $cacheKey = ['ActiveProperties','id' => $category_id, 'options' =>$this->options]; if(!$groups = Yii::$app->cache->get($cacheKey)){ -- libgit2 0.21.4