Skip to content

Commit

Permalink
Fixed PHP Debug warning for missing parameter within Bootstrapwp_Walk…
Browse files Browse the repository at this point in the history
…er_Nav_Menu::start_lvl
  • Loading branch information
rachelbaker committed May 21, 2013
1 parent f7cd3f8 commit 3ee0389
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions includes/class-bootstrapwp_walker_nav_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ public function __construct()
{
}

function start_lvl(&$output, $depth)
function start_lvl(&$output, $depth = 0, $args = array())
{
$indent = str_repeat("\t", $depth);
$output .= "\n$indent<ul class=\"dropdown-menu\">\n";
}

}

0 comments on commit 3ee0389

Please sign in to comment.