Skip to content

Commit

Permalink
Merge pull request #2 from zero-24/patch-1
Browse files Browse the repository at this point in the history
Just make travis happy
  • Loading branch information
Nils Rückmann committed Jun 10, 2015
2 parents f7d7370 + dbbd703 commit 453f1aa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libraries/cms/form/field/menuitem.php
Expand Up @@ -169,7 +169,12 @@ protected function getGroups()
foreach ($items as $link)
{
$levelPrefix = str_repeat('- ', max(0, $link->level - 1));
$groups[$menuType][] = JHtml::_('select.option', $link->value, $levelPrefix . $link->text, 'value', 'text', in_array($link->type, $this->disable));
$groups[$menuType][] = JHtml::_('select.option',
$link->value, $levelPrefix . $link->text,
'value',
'text',
in_array($link->type, $this->disable)
);
}
}
// Build groups for all menu types.
Expand Down

0 comments on commit 453f1aa

Please sign in to comment.