Commit 68a550450a91f7b302a2d3df74a51fa08a13a13d
1 parent
c8ee17e4
big commti
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
common/modules/product/models/Product.php
@@ -289,7 +289,7 @@ class Product extends \yii\db\ActiveRecord | @@ -289,7 +289,7 @@ class Product extends \yii\db\ActiveRecord | ||
289 | } | 289 | } |
290 | 290 | ||
291 | public function getActiveProperties($category_id) { | 291 | public function getActiveProperties($category_id) { |
292 | - $cacheKey = ['ActiveProperties','id' => $category_id, 'options' =>$this->options]; | 292 | + $cacheKey = ['ActiveProperties','id' => $category_id, 'options' =>$this->options, 'product_id' => $this->product_id ]; |
293 | 293 | ||
294 | if(!$groups = Yii::$app->cache->get($cacheKey)){ | 294 | if(!$groups = Yii::$app->cache->get($cacheKey)){ |
295 | 295 |