Merge pull request #804 from leoj3n/topic.walker

fixes #799
This commit is contained in:
Ben Word
2013-07-06 09:25:08 -07:00

View File

@@ -16,7 +16,7 @@ class Roots_Walker_Comment extends Walker_Comment {
echo '</ul>';
}
function start_el(&$output, $comment, $depth, $args, $id = 0) {
function start_el(&$output, $comment, $depth = 0, $args = array(), $id = 0) {
$depth++;
$GLOBALS['comment_depth'] = $depth;
$GLOBALS['comment'] = $comment;