Skip to content

Commit

Permalink
Fix variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Apr 12, 2014
1 parent 2fc3c43 commit aca40a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/HtmlHelper.php
Expand Up @@ -1094,7 +1094,7 @@ public function media($path, array $options = array()) {
public function nestedList(array $list, array $options = [], array $itemOptions = []) {
$options += array('tag' => 'ul');
$items = $this->_nestedListItem($list, $options, $itemOptions);
return $this->formatTemplate($tag, [
return $this->formatTemplate($options['tag'], [
'attrs' => $this->templater()->formatAttributes($options, ['tag']),
'content' => $items
]);
Expand Down

0 comments on commit aca40a8

Please sign in to comment.