summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_treelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_treelist.cpp')
-rw-r--r--fxjs/xfa/cjx_treelist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/xfa/cjx_treelist.cpp b/fxjs/xfa/cjx_treelist.cpp
index 904e09370f..b608734e3c 100644
--- a/fxjs/xfa/cjx_treelist.cpp
+++ b/fxjs/xfa/cjx_treelist.cpp
@@ -37,7 +37,7 @@ CJS_Return CJX_TreeList::namedItem(
CXFA_Node* pNode = GetXFATreeList()->NamedItem(
runtime->ToWideString(params[0]).AsStringView());
if (!pNode)
- return CJS_Return(true);
+ return CJS_Return();
CFXJSE_Value* value =
GetDocument()->GetScriptContext()->GetJSValueFromMap(pNode);