Skip to content

Commit

Permalink
Merge pull request #30 from zploskey/fixArgs
Browse files Browse the repository at this point in the history
Use correct args to get_links_for_children_pages
  • Loading branch information
zerocrates authored Dec 21, 2016
2 parents a59d1d4 + 8c4a359 commit 24370b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimplePagesPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public function filterAdminNavigationMain($nav)
*/
public function filterPublicNavigationMain($nav)
{
$navLinks = simple_pages_get_links_for_children_pages(0, 0, 'order', true);
$navLinks = simple_pages_get_links_for_children_pages(0, 'order', true);
$nav = array_merge($nav, $navLinks);
return $nav;
}
Expand Down

0 comments on commit 24370b8

Please sign in to comment.