Created
June 21, 2021 17:23
-
-
Save Sental/d5f81a8d5e66f0ca9383968749074e41 to your computer and use it in GitHub Desktop.
Magento 2 - Issue #32177 Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From d40affed1deffa9c10f0f308ae26e5e0e155b57a Mon Sep 17 00:00:00 2001 | |
From: Mark Rees <mark.rees@birdfood.co.uk> | |
Date: Tue, 9 Mar 2021 16:42:24 +0000 | |
Subject: [PATCH] prefix array element index issue bugfix | |
--- | |
Block/Checkout/LayoutProcessor.php | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/Block/Checkout/LayoutProcessor.php b/Block/Checkout/LayoutProcessor.php | |
index 16450ec..08c3022 100644 | |
--- a/Block/Checkout/LayoutProcessor.php | |
+++ b/Block/Checkout/LayoutProcessor.php | |
@@ -134,7 +134,7 @@ class LayoutProcessor implements LayoutProcessorInterface | |
foreach ($options as $key => $value) { | |
$elements[$code]['options'][] = [ | |
- 'value' => $key, | |
+ 'value' => $value, | |
'label' => $value, | |
]; | |
} | |
-- | |
2.11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
... | |
"extra": { | |
"magento-force": "override", | |
"composer-exit-on-patch-failure": true, | |
"patches": { | |
"magento/module-checkout": { | |
"prefix array element id fix": "patches/0001-prefix-array-element-index-issue-bugfix.patch" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment