Skip to content

Commit 80e1095

Browse files
BEG-81: Fix typo of comma instead of slash
1 parent 94634f2 commit 80e1095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/Product/GetUrlsForProducts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function execute(array $productIds, int $storeId): array
7474
}
7575
try {
7676
// remove trailing slashes from urls
77-
$urls[] = rtrim($store->getUrl($urlPath), ',');
77+
$urls[] = rtrim($store->getUrl($urlPath), '/');
7878
} catch (NoSuchEntityException $e) {
7979
continue;
8080
}

0 commit comments

Comments
 (0)