Commit cb6aefba authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4543 (Virtual roots for Wiki+ not completely propagated properly)

parent 9bc8c3b7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ function render_wiki_post_box($row, $zone = '_SEARCH', $give_context = true, $in

    $map = array('page' => 'wiki', 'type' => 'browse', 'id' => $row['page_id']);
    if (!is_null($root)) {
        $map['keep_forum_root'] = $root;
        $map['keep_wiki_root'] = $root;
    }
    $url = build_url($map, $zone);
    $url->attach('#post_' . strval($row['id']));
@@ -99,7 +99,7 @@ function render_wiki_page_box($row, $zone = '_SEARCH', $give_context = true, $in

    $map = array('page' => 'wiki', 'type' => 'browse', 'id' => $row['id']);
    if (!is_null($root)) {
        $map['keep_forum_root'] = $root;
        $map['keep_wiki_root'] = $root;
    }
    $url = build_url($map, $zone);