Skip to content

Commit ba8319b

Browse files
author
Gabriel Galvao da Gama
committed
Merge branch '2.4-develop' of github.com:magento-commerce/magento2ce into 2.4.3-develop-sync
2 parents 9ae286d + 5753111 commit ba8319b

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)