Skip to content
Snippets Groups Projects
Commit 81f23904 authored by André Noack's avatar André Noack Committed by Jan-Hendrik Willms
Browse files

Resolve "Doppeltes Id Attribut auf der Nachrichtenseite"

Closes #4039

Merge request studip/studip!2894
parent 83773002
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ class LinksWidget extends ListWidget
public function &addLink($label, $url, $icon = null, $attributes = [], $index = null)
{
if ($index === null) {
$index = 'link-' . md5($url);
$index = 'link-' . md5($url . $label);
}
$element = new LinkElement($label, $url, $icon, $attributes);
$this->addElement($element, $index);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment