From: Wilfried Goesgens Date: Thu, 1 Nov 2012 18:48:01 +0000 (+0100) Subject: SUBST: CheckContext: log token name the context is missing to. X-Git-Tag: v8.20~197 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=3eacc124cabb1ef5fe94ed9fb8ca35ca95235137 SUBST: CheckContext: log token name the context is missing to. --- diff --git a/webcit/subst.c b/webcit/subst.c index 6f85d04cd..02de06103 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -392,7 +392,7 @@ int CheckContext(StrBuf *Target, ContextFilter *Need, WCTemplputParams *TP, cons return 1; LogTemplateError( - Target, ErrType, ERR_PARM1, TP, + Target, ErrType, ERR_NAME, TP, " WARNING: requires Context: [%s], have [%s]!", ContextName(Need->ContextType), ContextName(TP->Filter.ContextType));