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

fixes #3577

Closes #3577

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