diff --git a/src/helma/scripting/fesi/ESNode.java b/src/helma/scripting/fesi/ESNode.java index 3908f64f..b08e0ab5 100644 --- a/src/helma/scripting/fesi/ESNode.java +++ b/src/helma/scripting/fesi/ESNode.java @@ -249,7 +249,7 @@ public class ESNode extends ObjectPrototype { return; } - if (propertyValue instanceof ESNull) + if (propertyValue instanceof ESNull || propertyValue instanceof ESUndefined) node.unset (propertyName); else if (propertyValue instanceof ESString) node.setString (propertyName, propertyValue.toString ());