summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/appweb/ejs/ejsParser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/appweb/ejs/ejsParser.c b/source4/lib/appweb/ejs/ejsParser.c
index 1f110e7ac4..dadd3eac11 100644
--- a/source4/lib/appweb/ejs/ejsParser.c
+++ b/source4/lib/appweb/ejs/ejsParser.c
@@ -1641,6 +1641,9 @@ static int evalExpr(Ejs *ep, MprVar *lhs, int rel, MprVar *rhs)
case EJS_EXPR_NOTEQ:
lval = lhs->type != rhs->type;
break;
+ case EJS_EXPR_BOOL_COMP:
+ lval = ! mprVarToBool(rhs);
+ break;
default:
lval = 0;
}