Skip to content

Commit

Permalink
Release v8.1.1
Browse files Browse the repository at this point in the history
* [FIX] Error at admin product hook for campaigns.
  • Loading branch information
alexhernandezord committed Sep 18, 2024
2 parents 4f56045 + 36b99a0 commit 916d71e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Change Log

#### [v8.1.1](https://github.com/aplazame/prestashop/tree/v8.1.1) (2024-09-18)

* [FIX] Error at admin product hook for campaigns.

#### [v8.1.0](https://github.com/aplazame/prestashop/tree/v8.1.0) (2024-09-12)

* [ADD] Widget v5.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version ?= v8.1.0
version ?= v8.1.1
errors = $(shell find aplazame -type f -name "*.php" -exec php -l "{}" \;| grep "Errors parsing ";)

syntax.checker:
Expand Down
4 changes: 3 additions & 1 deletion aplazame/aplazame.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct()
{
$this->name = 'aplazame';
$this->tab = 'payments_gateways';
$this->version = '8.1.0';
$this->version = '8.1.1';
$this->author = 'Aplazame SL';
$this->author_uri = 'https://aplazame.com';
$this->module_key = '64b13ea3527b4df3fe2e3fc1526ce515';
Expand Down Expand Up @@ -1080,8 +1080,10 @@ public function hookDisplayAdminProductsExtra($params)

$articles = array(Aplazame_Aplazame_Api_BusinessModel_Article::createFromProduct(new Product($id_product, false, $this->context->language->id)));

$link = $this->context->link;
$this->context->smarty->assign(array(
'articles' => $articles,
'link' => $link,
));

return $this->display(__FILE__, 'views/templates/admin/product.tpl');
Expand Down

0 comments on commit 916d71e

Please sign in to comment.