Skip to content

Commit 6cd36b7

Browse files
committed
Prevent the category duplicated url key checker to display exactly the same problem more then once.
1 parent 07e3a3f commit 6cd36b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Checker/Catalog/Category/UrlKey/DuplicateUrlKey.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ private function checkForDuplicatedUrlKeyAttributeValues(): array
7878
*/
7979
private function getCategoryUrlPathsByStoreId(int $storeId): array
8080
{
81+
$this->urlPathsInfo = [];
82+
8183
$urlPaths = [];
8284

8385
$categories = $this->urlPathChecker->getAllVisibleCategoriesWithStoreId($storeId);

0 commit comments

Comments
 (0)