Skip to content

Commit 7bba84c

Browse files
committed
MAGETWO-66480: [GITHUB] URL key for specified store already exists #6671
- rename vars in template
1 parent 73288c4 commit 7bba84c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

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

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

0 commit comments

Comments
 (0)