From 22ea5a1ce20cd1dc84a689c999c523a967680037 Mon Sep 17 00:00:00 2001 From: MaxBUhe Date: Wed, 3 Jan 2024 13:46:43 +0100 Subject: [PATCH 1/2] [Fixed] error on array-count at zero entries --- Application/views/ga4/view_search_result.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/views/ga4/view_search_result.tpl b/Application/views/ga4/view_search_result.tpl index 42e4c7b..f73643e 100644 --- a/Application/views/ga4/view_search_result.tpl +++ b/Application/views/ga4/view_search_result.tpl @@ -3,7 +3,7 @@ [{assign var="gtmProducts" value=$oView->getArticleList()}] [{block name="d3_ga4_view_search_result_block"}] - [{if $gtmProducts|@count}] + [{if $gtmProducts}] [{capture assign=d3_ga4_view_search_result}] [{strip}] dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */ From ed5fcc60117a1ddfba4d55ad8e2baf28780f131c Mon Sep 17 00:00:00 2001 From: MaxBUhe Date: Wed, 3 Jan 2024 13:48:43 +0100 Subject: [PATCH 2/2] bump changelog && version to 2.13.1 --- CHANGELOG.md | 4 ++++ metadata.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bd2fc7..a7a69b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.13.1](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.13.0...2.13.1) - 2023-01-03 +## Fixed +- error on array-count at zero entries + ## [2.13.0](https://git.d3data.de/D3Public/GoogleAnalytics4/compare/2.12.0...2.13.0) - 2023-09-13 ### Added - extended Docs diff --git a/metadata.php b/metadata.php index 6535535..aa410ad 100755 --- a/metadata.php +++ b/metadata.php @@ -26,7 +26,7 @@ $aModule = [ Die Entwicklung basiert auf einem Fork von Marat Bedoev - Github-Link ", 'thumbnail' => 'thumbnail.png', - 'version' => '2.13.0', + 'version' => '2.13.1', 'author' => 'Data Development (Inh.: Thomas Dartsch)', 'email' => 'support@shopmodule.com', 'url' => 'https://www.oxidmodule.com/',