diff --git a/dist/doofinder-p1.5-latest.zip b/dist/doofinder-p1.5-latest.zip new file mode 100644 index 0000000..2da2427 Binary files /dev/null and b/dist/doofinder-p1.5-latest.zip differ diff --git a/doofinder.php b/doofinder.php index 8d823f9..774db85 100644 --- a/doofinder.php +++ b/doofinder.php @@ -43,7 +43,7 @@ class Doofinder extends Module const GS_SHORT_DESCRIPTION = 1; const GS_LONG_DESCRIPTION = 2; - const VERSION = "1.5.1"; + const VERSION = "1.5.2"; const YES = 1; const NO = 0; @@ -463,6 +463,7 @@ protected function getYesNoSelectFor($optname, $label) public function cfg($key, $default=null) { - return dfTools::cfg($this->context->shop->id, $key, $default); + + return dfTools::cfg($this->context->id_shop, $key, $default); } } diff --git a/package.json b/package.json index a6c6aa7..b4e4bb4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "doofinder-for-prestashop", - "version": "1.5.1", + "version": "1.5.2", "devDependencies": { "grunt": "^0.4.5", "grunt-contrib-clean": "^0.5.0",