Commit 93901f1f authored by Guus der Kinderen's avatar Guus der Kinderen Committed by GitHub

OF-1374: Fixed incorrect XML navigation in PEP auto-create

parent 0ecaa2d3
......@@ -332,8 +332,7 @@ public class PubSubEngine {
// If it is a PEP service & publisher is service owner -
// auto create nodes.
Element childElement = iq.getChildElement();
Element createElement = publishElement.element("publish");
CreateNodeResponse response = createNodeHelper(service, iq, childElement, createElement);
CreateNodeResponse response = createNodeHelper(service, iq, childElement, publishElement);
if (response.newNode == null) {
// New node creation failed. Since pep#auto-create is advertised
......
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