From c681b4f14dedeaffe0834dc15f94e9c2218a28bb Mon Sep 17 00:00:00 2001 From: mandan2 Date: Tue, 7 Nov 2023 13:37:39 +0200 Subject: [PATCH] PIPRES-352: Billie payment method upgrade name fix --- upgrade/Upgrade-5.4.3.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/upgrade/Upgrade-5.4.3.php b/upgrade/Upgrade-5.4.3.php index 568dec529..865f9b6c9 100644 --- a/upgrade/Upgrade-5.4.3.php +++ b/upgrade/Upgrade-5.4.3.php @@ -159,6 +159,8 @@ function updateOrderStatusNames543(Mollie $module) foreach ($authorizablePaymentStatusShipped->name as $langId => $name) { $authorizablePaymentStatusShipped->name[$langId] = 'Order payment shipped'; } + } else { + $authorizablePaymentStatusShipped->name = 'Order payment shipped'; } $authorizablePaymentStatusShipped->save(); @@ -170,6 +172,8 @@ function updateOrderStatusNames543(Mollie $module) foreach ($authorizablePaymentStatusAuthorized->name as $langId => $name) { $authorizablePaymentStatusAuthorized->name[$langId] = 'Order payment authorized'; } + } else { + $authorizablePaymentStatusAuthorized->name = 'Order payment authorized'; } $authorizablePaymentStatusAuthorized->save();