summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/web_server/ejs/ejs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/web_server/ejs/ejs.c b/source4/web_server/ejs/ejs.c
index 11da79a0dd..49bb9a6649 100644
--- a/source4/web_server/ejs/ejs.c
+++ b/source4/web_server/ejs/ejs.c
@@ -845,7 +845,7 @@ int ejsGetVarCore(Ejs *ep, const char *varName_c, MprVar **obj, MprVar **varValu
if (varValue) {
*varValue = 0;
}
- currentObj = ejsFindObj(ep, 0, varName, flags);
+ currentObj = ejsFindObj(ep, 0, varName_c, flags);
currentVar = 0;
propertyName = 0;