From f1ee45e6d5800a5af55e4878d0c81b047c4d4e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Herna=CC=81ndez?= Date: Mon, 16 Sep 2024 16:02:50 +0200 Subject: [PATCH 1/2] Fix admin error at product detail --- aplazame/aplazame.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aplazame/aplazame.php b/aplazame/aplazame.php index 2213d86..ff4c9ba 100644 --- a/aplazame/aplazame.php +++ b/aplazame/aplazame.php @@ -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'); From fc7aa492bfeb3efe44a63893d48a2e557d3e1e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Herna=CC=81ndez?= Date: Wed, 18 Sep 2024 14:54:51 +0200 Subject: [PATCH 2/2] Release v8.1.1 --- HISTORY.md | 4 ++++ Makefile | 2 +- aplazame/aplazame.php | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 623803b..7aa2448 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -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. diff --git a/Makefile b/Makefile index ff16c0d..f816d31 100644 --- a/Makefile +++ b/Makefile @@ -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: diff --git a/aplazame/aplazame.php b/aplazame/aplazame.php index ff4c9ba..5604b52 100644 --- a/aplazame/aplazame.php +++ b/aplazame/aplazame.php @@ -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';