Skip to content

Commit

Permalink
Removing redundant function calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 17, 2009
1 parent 0dee625 commit a46ebc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/view/helpers/html.php
Expand Up @@ -829,7 +829,7 @@ function __nestedListItem($items, $options, $itemOptions, $tag) {
} else if (isset($itemOptions['odd']) && $index % 2 != 0) {
$itemOptions['class'] = $itemOptions['odd'];
}
$out .= sprintf($this->tags['li'], $this->_parseAttributes(array_diff_key($itemOptions, array_flip(array('even', 'odd'))), null, ' ', ''), $item);
$out .= sprintf($this->tags['li'], $this->_parseAttributes($itemOptions, array('even', 'odd'), ' ', ''), $item);
$index++;
}
return $out;
Expand Down

0 comments on commit a46ebc9

Please sign in to comment.