Skip to content

Commit c738b29

Browse files
committed
Merge remote-tracking branch 'mainline/2.4-develop' into MCP-584-2
2 parents f1b275d + 5753111 commit c738b29

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)