Skip to content

Commit 9573503

Browse files
committed
ACP2E-3900: Update product url_key via REST API does not generate a 301 URL Rewrite
- fixed static tests
1 parent 2ff0994 commit 9573503

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/CatalogUrlRewrite/Model/Product/CurrentUrlRewritesRegenerator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ public function generateAnchor(
182182
);
183183
$anchorCategoryIds = array_merge(
184184
...array_map(
185-
fn($productCategory) => $productCategory->getAnchorsAbove(), $productCategories->getList()
185+
fn($productCategory) => $productCategory->getAnchorsAbove(),
186+
$productCategories->getList()
186187
)
187188
);
188189

0 commit comments

Comments
 (0)