Skip to content
Permalink
Browse files

Removing redundant function calls.

  • Loading branch information...
markstory committed Oct 17, 2009
1 parent 0dee625 commit a46ebc933bf053727432ca96b69ab36e5f12c2b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/view/helpers/html.php
@@ -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;

0 comments on commit a46ebc9

Please sign in to comment.
You can’t perform that action at this time.