Skip to content
Snippets Groups Projects
Commit d07e95fc authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[BUGFIX] Fixing an issue with the selection of templates that broke the complete logic

parent 7ceaaa8b
No related branches found
No related tags found
No related merge requests found
......@@ -95,8 +95,8 @@ class ActionMenuItemViewHelper extends AbstractTagBasedViewHelper {
$this->tag->removeAttribute('selected');
}
if (!$arguments['parameters']['selected']) {
$this->tag->removeAttribute('selected');
if ($arguments['parameters']['selected'] === 'selected') {
$this->tag->addAttribute('selected', 'selected');
}
$this->tag->setContent($label);
......
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