Skip to content

Commit f7d913a

Browse files
[Magento Community Engineering] Community Contributions - 2.4-develop
- merged latest code from mainline branch
2 parents c79f01b + 5753111 commit f7d913a

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)