From 375640a19f828c12ae34dac3adbea0dd84d17057 Mon Sep 17 00:00:00 2001 From: Nicolas Barbey Date: Wed, 11 Oct 2023 10:27:48 +0200 Subject: [PATCH] fix status update listener --- Config/module.xml | 2 +- EventListeners/SendConfirmationEmail.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Config/module.xml b/Config/module.xml index 96a6f9f..cf0ea35 100755 --- a/Config/module.xml +++ b/Config/module.xml @@ -14,7 +14,7 @@ fr_FR en_US - 2.0.2 + 2.0.3 Thelia diff --git a/EventListeners/SendConfirmationEmail.php b/EventListeners/SendConfirmationEmail.php index b24358c..ace24f8 100644 --- a/EventListeners/SendConfirmationEmail.php +++ b/EventListeners/SendConfirmationEmail.php @@ -84,7 +84,7 @@ public function updateStatus(OrderEvent $event): void public static function getSubscribedEvents(): array { return array( - TheliaEvents::ORDER_UPDATE_STATUS => array("updateStatus", 128), + TheliaEvents::ORDER_UPDATE_STATUS => array("updateStatus", 10), TheliaEvents::ORDER_SEND_CONFIRMATION_EMAIL => array("sendConfirmationEmail", 129), TheliaEvents::ORDER_SEND_NOTIFICATION_EMAIL => array("sendNotificationEmail", 129) );