Check property name in getFromNode()

This commit is contained in:
hns 2003-12-10 13:33:20 +00:00
parent 90d5961546
commit 0e6eca74ee

View file

@ -736,7 +736,7 @@ public class HopObject extends ScriptableObject implements Wrapper {
* to return the prototype functions in that case. * to return the prototype functions in that case.
*/ */
private Object getFromNode(String name) { private Object getFromNode(String name) {
if (node != null) { if (node != null && name != null && name.length() > 0) {
checkNode(); checkNode();