From 9c3a83f481d549eb85666c8bd2dea44e731990ef Mon Sep 17 00:00:00 2001 From: Pavel Levshin Date: Thu, 31 Oct 2013 23:47:32 +0400 Subject: bugfix: regression in template processing --- template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template.c') diff --git a/template.c b/template.c index ebb3f422..e8b5e9f2 100644 --- a/template.c +++ b/template.c @@ -1794,7 +1794,7 @@ tplProcessCnf(struct cnfobj *o) } } - if(bHaveSubtree) { + if(!bHaveSubtree) { if(tplType == T_SUBTREE) { errmsg.LogError(0, RS_RET_ERR, "template '%s' of type subtree needs " "subtree parameter", name); -- cgit v1.2.3