Skip to content

Commit 5753111

Browse files
Merge pull request #7024 from magento-trigger/AC-493
[trigger] AC-493: Upgrade Issue, While upgrade from Magento 2.4.2-p1 to Magento 2.4.3
2 parents 7e364fd + 8c74eb3 commit 5753111

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/Paypal/Setup/Patch/Data/UpdateBmltoPayLater.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ public function apply()
134134
foreach ($bmlSettings as $bmlPath => $bmlValue) {
135135
$setting = str_replace(self::BMLPATH, '', $bmlPath);
136136
$settingParts = explode('_', $setting);
137+
if (count($settingParts) !== 2) {
138+
continue;
139+
}
137140
$page = $settingParts[0];
138141
$setting = $settingParts[1];
139142
$payLaterPage = $page === 'checkout' ? 'cartpage' : $page;

0 commit comments

Comments
 (0)