Output not echo, fixes #1465

git-svn-id: http://svn.automattic.com/wordpress/trunk@2686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-07-02 23:37:08 +00:00
parent f048ab7b0a
commit e065df406a

View File

@ -392,7 +392,7 @@ function _page_level_out($parent, $page_tree, $args, $depth = 0, $echo = true) {
$format = $args['date_format'];
$output .= " " . mysql2date($format, $cur_page['ts']);
}
echo "\n";
$output .= "\n";
if(isset($cur_page['children']) && is_array($cur_page['children'])) {
$new_depth = $depth + 1;