Commit 16f319fe authored by Dave Cridland's avatar Dave Cridland

Merge pull request #413 from sco0ter/nodeNPE

Fix NPE in Node.java when changing node configuration.
parents 2bb8ec26 2cfee0c6
......@@ -875,7 +875,7 @@ public abstract class Node {
formField.setLabel(LocaleUtils.getLocalizedString("pubsub.form.conf.collection"));
}
if (!parent.isRootCollectionNode()) {
if (parent != null && !parent.isRootCollectionNode()) {
formField.addValue(parent.getNodeID());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment