Skip to content
Snippets Groups Projects
Commit e5521eec authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #3577

Closes #3577

Merge request studip/studip!2473
parent c8ffb844
No related branches found
No related tags found
No related merge requests found
......@@ -362,7 +362,10 @@ class Navigation implements IteratorAggregate
public function setImage(\Icon $image = null, $linkAttributes = [])
{
$this->image = $image;
$this->setLinkAttributes($linkAttributes);
$this->link_attributes = array_merge(
$this->link_attributes,
$linkAttributes
);
}
/**
......@@ -377,7 +380,10 @@ class Navigation implements IteratorAggregate
public function setActiveImage(\Icon $image = null, $linkAttributes = [])
{
$this->active_image = $image;
$this->setLinkAttributes($linkAttributes);
$this->link_attributes = array_merge(
$this->link_attributes,
$linkAttributes
);
}
/**
......
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