Fix bug where we forgot to check for NOT_FOUND in jsFunction_get()

This commit is contained in:
hns 2003-12-02 19:37:22 +00:00
parent bd499db5ab
commit 6b443f211c

View file

@ -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);
}
}