* shortcut notation to tokens for hashkeys; TKEY(n) will make str,len for Hash access
[citadel.git] / webcit / msg_renderers.c
index 97e0b66f9f4fe566baa83a53b430dbcf729feb2a..d9955e8e586b2fc8319be574ca3c9cc85bf6145f 100644 (file)
@@ -664,7 +664,7 @@ void tmplput_QUOTED_MAIL_BODY(StrBuf *Target, int nArgs, WCTemplateToken *Tokens
        long MsgNum;
        StrBuf *Buf;
 
-       MsgNum = LBstr(Tokens->Params[0]->Start, Tokens->Params[0]->len);
+       MsgNum = LBstr(TKEY(0));
        Buf = NewStrBuf();
        read_message(Buf, HKEY("view_message_replyquote"), MsgNum, 0, NULL);
        StrBufAppendTemplate(Target, nArgs, Tokens, Context, ContextType, Buf, 1);