From 55718abcc3dcda2fa948f4c2a39d01c19d2b35a7 Mon Sep 17 00:00:00 2001 From: hns Date: Sun, 5 Aug 2001 21:50:21 +0000 Subject: [PATCH] stupid lack-of-sleep error in previous commit --- src/helma/objectmodel/db/Node.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/objectmodel/db/Node.java b/src/helma/objectmodel/db/Node.java index b58db599..ca3210df 100644 --- a/src/helma/objectmodel/db/Node.java +++ b/src/helma/objectmodel/db/Node.java @@ -787,7 +787,7 @@ public final class Node implements INode, Serializable { if (!"root".equalsIgnoreCase (node.getPrototype ())) { // avoid calling getParent() because it would return bogus results for the not-anymore transient node - Node nparent = node.parentHandle == null ? null : node.parentHanldle.getNode (); + Node nparent = node.parentHandle == null ? null : node.parentHandle.getNode (nmgr); // if the node doesn't have a parent yet, or it has one but it's transient while we are // persistent, make this the nodes new parent. if (nparent == null || (state != TRANSIENT && nparent.getState () == TRANSIENT)) {