Skip to content

Commit

Permalink
[-] FO Fix #PNM-3160 : Wrong rights used when cache active.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shudrum committed Jan 22, 2015
1 parent c03ffba commit 1f0a899
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/module/Module.php
Expand Up @@ -2053,7 +2053,10 @@ protected function getCacheId($name = null)
if (Shop::isFeatureActive())
$cache_array[] = (int)$this->context->shop->id;
if (Group::isFeatureActive())
{
$cache_array[] = (int)Group::getCurrent()->id;
$cache_array[] = implode('_', Customer::getGroupsStatic($this->context->customer->id));
}
if (Language::isMultiLanguageActivated())
$cache_array[] = (int)$this->context->language->id;
if (Currency::isMultiCurrencyActivated())
Expand Down

0 comments on commit 1f0a899

Please sign in to comment.