diff --git a/src/helma/scripting/rhino/HopObject.java b/src/helma/scripting/rhino/HopObject.java index 3dfcd542..8523572d 100644 --- a/src/helma/scripting/rhino/HopObject.java +++ b/src/helma/scripting/rhino/HopObject.java @@ -303,7 +303,7 @@ public class HopObject extends ScriptableObject implements Wrapper { // try to get as property first n = getFromNode(id.toString()); // then try to get child object by id - if (n == null) { + if (n == null || n == NOT_FOUND) { n = jsFunction_getById(id); } }