Check property name in getFromNode()
This commit is contained in:
parent
90d5961546
commit
0e6eca74ee
1 changed files with 1 additions and 1 deletions
|
@ -736,7 +736,7 @@ public class HopObject extends ScriptableObject implements Wrapper {
|
|||
* to return the prototype functions in that case.
|
||||
*/
|
||||
private Object getFromNode(String name) {
|
||||
if (node != null) {
|
||||
if (node != null && name != null && name.length() > 0) {
|
||||
|
||||
checkNode();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue