* correct function call for wiki mode too.
[citadel.git] / webcit / wiki.c
index 7a9a66c9d9491b5a4422e7e4f972c3e39e9a7f70..691efcf08a6e359d169990888213929b72a485ad 100644 (file)
@@ -77,7 +77,7 @@ void display_wiki_page(void)
        msgnum = locate_message_by_uid(pagename);
        if (msgnum >= 0L) {
                output_headers(1, 1, 1, 0, 0, 0);
-               read_message(msgnum, 0, "");
+               read_message(WC->WBuf, HKEY("view_message"), msgnum, 0, "");
                wDumpContent(1);
                return;
        }