Skip to content

Commit a123f23

Browse files
szsanyiSanyi
andauthored
EMA-154 - Event trigger if not default template has been choosen for g… (#67)
Co-authored-by: Sanyi <[email protected]>
1 parent 97cfd94 commit a123f23

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Release notes:
22
==============
33

4+
2.0.14
5+
-------
6+
* Fix
7+
* Fixing email trigger, if not default template has been choosen for guests orders not triggered
8+
49
2.0.13
510
-------
611
* Fix

Events/SenderBuilderPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ private function parseVars(string $key, AbstractModel $object, array &$data): vo
284284
*/
285285
private function saveEvent(int $websiteId, int $storeId, string $type, int $entityId, array $data): void
286286
{
287-
$data = $this->json->serialize($data);
287+
$data = json_encode($data, JSON_INVALID_UTF8_IGNORE);
288288

289289
$eventModel = $this->eventFactory
290290
->create()

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"php": ">7.0.1"
77
},
88
"type": "magento2-module",
9-
"version": "2.0.13",
9+
"version": "2.0.14",
1010
"autoload": {
1111
"files": [
1212
"registration.php"

etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22

33
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
4-
<module name="Emartech_Emarsys" setup_version="2.0.13">
4+
<module name="Emartech_Emarsys" setup_version="2.0.14">
55
<sequence>
66
<module name="Magento_Catalog" />
77
<module name="Magento_Inventory" />

0 commit comments

Comments
 (0)