Fix call to join. Bug 658. Hat tip: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3f5d6b64f5
commit
4ec2370af8
|
@ -353,7 +353,7 @@ function _page_level_out($parent, $page_tree, $args, $depth = 0) {
|
||||||
$queried_obj = $wp_query->get_queried_object();
|
$queried_obj = $wp_query->get_queried_object();
|
||||||
|
|
||||||
if($depth)
|
if($depth)
|
||||||
$indent = join(array_fill(0,$depth,"\t"));
|
$indent = join('', array_fill(0,$depth,"\t"));
|
||||||
|
|
||||||
foreach($page_tree[$parent]['children'] as $page_id) {
|
foreach($page_tree[$parent]['children'] as $page_id) {
|
||||||
$cur_page = $page_tree[$page_id];
|
$cur_page = $page_tree[$page_id];
|
||||||
|
|
Loading…
Reference in New Issue