Skip to content

Commit 0097625

Browse files
Barny ShergoldBarny Shergold
authored andcommitted
Updated code as per failed test
1 parent d59d740 commit 0097625

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/CatalogUrlRewrite/Model/ProductScopeRewriteGenerator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,7 @@ public function isCategoryProperForGenerating(Category $category, $storeId)
237237
}
238238

239239
/**
240-
* Checks if URL key has been changed for provided category and returns reloaded category,
241-
* in other case - returns provided category.
240+
* Checks if URL key has been changed for provided category and returns reloaded category in other case - returns provided category.
242241
*
243242
* Category should be loaded per appropriate store at all times. This is because whilst the URL key on the
244243
* category in focus might be unchanged, parent category URL keys might be. If the category store ID

0 commit comments

Comments
 (0)