Skip to content

Commit df19fed

Browse files
committed
MAGETWO-66480: [GITHUB] URL key for specified store already exists #6671
- removing unwanted comments - renaming vars
1 parent a8bebf0 commit df19fed

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/UrlRewrite/view/adminhtml/templates/messages/url_duplicate_message.phtml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ echo $block->escapeHtml(
2323
);
2424

2525
if (!empty($urls)) {
26-
foreach ($urls as $adminUrl => $requestPath) {
27-
// key is the url that has been setup by the controller with the information from the exception
28-
echo '<p> - <a href="' . $block->escapeHtml($adminUrl) . '">' . $block->escapeHtml($requestPath) . '</a></p>';
26+
foreach ($urls as $url => $urlTitle) {
27+
echo '<p> - <a href="' . $block->escapeHtml($url) . '">' . $block->escapeHtml($urlTitle) . '</a></p>';
2928
}
3029
}
3130
?>

0 commit comments

Comments
 (0)