We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e364fd + 8c74eb3 commit 5753111Copy full SHA for 5753111
app/code/Magento/Paypal/Setup/Patch/Data/UpdateBmltoPayLater.php
@@ -134,6 +134,9 @@ public function apply()
134
foreach ($bmlSettings as $bmlPath => $bmlValue) {
135
$setting = str_replace(self::BMLPATH, '', $bmlPath);
136
$settingParts = explode('_', $setting);
137
+ if (count($settingParts) !== 2) {
138
+ continue;
139
+ }
140
$page = $settingParts[0];
141
$setting = $settingParts[1];
142
$payLaterPage = $page === 'checkout' ? 'cartpage' : $page;
0 commit comments