Skip to content

Commit

Permalink
Update from thinkluke (THANK YOU!)
Browse files Browse the repository at this point in the history
----------------
Fix Strict Standards: Declaration of Yamm_Nav_Walker::start_lvl() and Yamm_Fw_Nav_Walker::start_lvl()
  • Loading branch information
Ryan Macdonald committed Dec 10, 2015
1 parent de5dbc0 commit 012e61a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yamm-nav-walker.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function check_current($classes)
return preg_match('/(current[-_])|active|dropdown/', $classes);
}

function start_lvl(&$output, $depth, $args = array())
function start_lvl(&$output, $depth = 0, $args = array())
{
$output .= ($depth == 0) ? "\n<ul class=\"dropdown-menu\">\n" . "\n<div class=\"yamm-content\">\n" . "\n<div class=\"row\">\n" : "\n<ul class=\"elementy-ul yamm-fw\">\n";
}
Expand Down Expand Up @@ -138,7 +138,7 @@ function check_current($classes)
return preg_match('/(current[-_])|active|dropdown/', $classes);
}

function start_lvl(&$output, $depth, $args = array())
function start_lvl(&$output, $depth = 0, $args = array())
{
$output .= ($depth == 0) ? "\n<ul class=\"dropdown-menu\">\n" . "\n<div class=\"yamm-content\">\n" . "\n<div class=\"row\">\n" : "\n<ul class=\"elementy-ul yamm-fw\">\n";
}
Expand Down

0 comments on commit 012e61a

Please sign in to comment.