Use str_repeat instead of array_fill. Bug 695. Patch from gbhugo.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2005-01-15 15:51:31 +00:00
parent f836050ca3
commit 80373058d9
1 changed files with 2 additions and 1 deletions

View File

@ -353,7 +353,8 @@ function _page_level_out($parent, $page_tree, $args, $depth = 0) {
$queried_obj = $wp_query->get_queried_object();
if($depth)
$indent = join('', array_fill(0,$depth,"\t"));
$indent = str_repeat("\t", $depth);
//$indent = join('', array_fill(0,$depth,"\t"));
foreach($page_tree[$parent]['children'] as $page_id) {
$cur_page = $page_tree[$page_id];