From: Wilfried Goesgens Date: Sun, 11 Oct 2015 11:50:24 +0000 (+0200) Subject: this way around the filter logic status is more common sense. X-Git-Tag: Release_902~160 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=972cd0d4d4784a16ba6c30ed1348266ca452cbfa this way around the filter logic status is more common sense. --- diff --git a/webcit/subst.c b/webcit/subst.c index ab4edce38..fd72242b2 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -2163,7 +2163,7 @@ void tmpl_iterate_subtmpl(StrBuf *Target, WCTemplputParams *TP) if ((Status.n >= StartAt) && (Status.n <= StopAt)) { if ((It->Filter != NULL) && - It->Filter(Status.Key, Status.KeyLen, vContext, Target, TP)) + !It->Filter(Status.Key, Status.KeyLen, vContext, Target, TP)) { continue; }