diff --git a/dist/doofinder-p1.5-latest-no-full.zip b/dist/doofinder-p1.5-latest-no-full.zip index 8c238de..a8b53c7 100644 Binary files a/dist/doofinder-p1.5-latest-no-full.zip and b/dist/doofinder-p1.5-latest-no-full.zip differ diff --git a/dist/doofinder-p1.5-latest.zip b/dist/doofinder-p1.5-latest.zip index 866b3d8..2daed0c 100644 Binary files a/dist/doofinder-p1.5-latest.zip and b/dist/doofinder-p1.5-latest.zip differ diff --git a/doofinder.php b/doofinder.php index 4f66848..774a462 100644 --- a/doofinder.php +++ b/doofinder.php @@ -44,7 +44,7 @@ class Doofinder extends Module const GS_SHORT_DESCRIPTION = 1; const GS_LONG_DESCRIPTION = 2; - const VERSION = "2.2.6"; + const VERSION = "2.2.7"; const YES = 1; const NO = 0; @@ -286,15 +286,8 @@ protected function _updateConfiguration() foreach (Language::getLanguages(true, $this->context->shop->id) as $lang) { $optname = $prefix.strtoupper($lang['iso_code']); - // Cleaning script tags - if ('DOOFINDER_SCRIPT_' === $prefix){ - $value = str_replace('', '', $value); - } - else{ - $value = Tools::getValue($optname); - } + $value = Tools::getValue($optname); + Configuration::updateValue($optname, $value, $html); } } diff --git a/package.json b/package.json index 8b14481..a740294 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "doofinder-for-prestashop", - "version": "2.2.6", + "version": "2.2.7", "devDependencies": { "grunt": "^0.4.5", "grunt-contrib-clean": "^0.5.0",