Skip to content

Commit 133913e

Browse files
committed
#29449: Corrected link url retrieval
1 parent 6f08422 commit 133913e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/MediaGalleryUi/Model/GetAssetUsageDetails.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private function getName(string $type): string
9191
private function getLinkUrl(string $type): ?string
9292
{
9393
if (isset($this->contentTypes[$type]) && !empty($this->contentTypes[$type]['link'])) {
94-
return $this->contentTypes[$type]['link'];
94+
return $this->url->getUrl($this->contentTypes[$type]['link']);
9595
}
9696
return null;
9797
}

0 commit comments

Comments
 (0)