Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
New release. Avoids notice.
Browse files Browse the repository at this point in the history
  • Loading branch information
ecoslado committed Jul 10, 2015
1 parent 837847b commit 32445e2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Binary file modified dist/doofinder-p1.5-latest.zip
Binary file not shown.
10 changes: 7 additions & 3 deletions doofinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Doofinder extends Module

const GS_SHORT_DESCRIPTION = 1;
const GS_LONG_DESCRIPTION = 2;
const VERSION = "1.5.8";
const VERSION = "1.5.9";

const YES = 1;
const NO = 0;
Expand Down Expand Up @@ -485,7 +485,11 @@ protected function getYesNoSelectFor($optname, $label)

public function cfg($key, $default=null)
{

return dfTools::cfg($this->context->id_shop, $key, $default);
if(isset($this->context->id_shop)){
return dfTools::cfg($this->context->id_shop, $key, $default);
}
else{
return dfTools::cfg(null, $key, $default);
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "doofinder-for-prestashop",
"version": "1.5.8",
"version": "1.5.9",
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-clean": "^0.5.0",
Expand Down

0 comments on commit 32445e2

Please sign in to comment.