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

Commit

Permalink
v2.0.8 - Fix install procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
paeddl committed Mar 31, 2021
1 parent eb2719c commit 3d4b1c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@

- v2.0.7
- Adaptions PrestaShop 1.7.7.0

- v2.0.8
- Bugfix Install procedure (thx to @ptmrio)
6 changes: 3 additions & 3 deletions fcpayone.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function __construct()
{
$this->name = 'fcpayone';
$this->tab = 'payments_gateways';
$this->version = '2.0.7';
$this->version = '2.0.8';
if (!defined('_FCPAYONE_VERSION_')) {
define('_FCPAYONE_VERSION_', $this->version);
}
Expand Down Expand Up @@ -115,9 +115,9 @@ protected function install16Hook()
protected function installAdminOrderHook()
{
if (\Payone\Base\Registry::getHelperPrestaShop()->isPrestaShop1770rHigher()) {
$this->registerHook('displayAdminOrderMainBottom');
return $this->registerHook('displayAdminOrderMainBottom');
} else {
$this->registerHook('displayAdminOrderLeft');
return $this->registerHook('displayAdminOrderLeft');
}
}

Expand Down

0 comments on commit 3d4b1c4

Please sign in to comment.