Skip to content

Commit

Permalink
https://github.com/opencart/opencart/issues/8742
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Dec 22, 2020
1 parent 7418137 commit 4314c58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/catalog/controller/event/translation.php
Expand Up @@ -8,9 +8,9 @@ public function index(&$route, &$prefix) {

foreach ($results as $result) {
if (!$prefix) {
$this->language->set($result['key'], $result['value']);
$this->language->set($result['key'], html_entity_decode($result['value'], ENT_QUOTES, 'UTF-8'));
} else {
$this->language->set($prefix . '_' . $result['key'], $result['value']);
$this->language->set($prefix . '_' . $result['key'], html_entity_decode($result['value'], ENT_QUOTES, 'UTF-8'));
}
}
}
Expand Down

0 comments on commit 4314c58

Please sign in to comment.