From 1c0466ac01fb8c524e2f06d54cf2c7c7f0f90c82 Mon Sep 17 00:00:00 2001 From: amirinterlutions Date: Sun, 28 Jan 2024 21:30:13 +0100 Subject: [PATCH] PAYOSWXP-121: Fixes Notification Forward: failed: Warning: Array to string conversion --- .../MessageBus/MessageHandler/NotificationForwardHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Payone/Webhook/MessageBus/MessageHandler/NotificationForwardHandler.php b/src/Payone/Webhook/MessageBus/MessageHandler/NotificationForwardHandler.php index 7d9f6725e..6813952e9 100644 --- a/src/Payone/Webhook/MessageBus/MessageHandler/NotificationForwardHandler.php +++ b/src/Payone/Webhook/MessageBus/MessageHandler/NotificationForwardHandler.php @@ -112,7 +112,7 @@ private function getForwardRequests(\CurlMultiHandle $multiHandle, EntitySearchR $serialize = unserialize($forward->getContent(), []); /** @var array|string|false $content */ - $content = mb_convert_encoding((string) $serialize, 'ISO-8859-1', 'UTF-8'); + $content = mb_convert_encoding($serialize, 'ISO-8859-1', 'UTF-8'); if (!\is_array($content)) { continue;