Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #41 from alexej-d/patch-1
Browse files Browse the repository at this point in the history
Fix multilingual strings displayed in frontend hooks
  • Loading branch information
eternoendless authored May 22, 2019
2 parents 2b49c12 + 9dbfa5f commit 4c9b85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ps_legalcompliance.php
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ private function emptyTemplatesCache()

private function dumpHookDisplayProductPriceBlock(array $smartyVars, $hook_type, $additional_cache_param = false)
{
$cache_id = sha1($hook_type.$additional_cache_param);
$cache_id = sha1($hook_type.$additional_cache_param.$this->context->language->id);
$this->context->smarty->assign(array('smartyVars' => $smartyVars));
$this->context->controller->addJS($this->_path.'views/js/fo_aeuc_tnc.js', true);
$template = 'hookDisplayProductPriceBlock_'.$hook_type.'.tpl';
Expand Down

0 comments on commit 4c9b85e

Please sign in to comment.