Commit 2417a2ff authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4545 (Breadcrumbs not set properly for get_wiki_page_tree function)

parent 1efd3ae7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -936,6 +936,9 @@ function get_wiki_page_tree(&$wiki_seen, $page_id = null, $breadcrumbs = null, $
    }

    $title = is_string($page_details['title']) ? $page_details['title'] : get_translated_text($page_details['title']);
    if ($breadcrumbs != '') {
        $breadcrumbs .= ' > ';
    }
    $breadcrumbs .= $title;

    // We'll be putting all children in this entire tree into a single list