aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2013-06-18 12:23:32 +0200
committerChristophe Romain <christophe.romain@process-one.net>2013-06-18 12:23:32 +0200
commitc030e8e136ec97e35e5232d9f61d95abba25e89a (patch)
tree90ae1ea9f5ae15431472503395eb290887a31e80 /src
parentFix node auto-creation (diff)
sync pubsub_odbc with last fix
Diffstat (limited to 'src')
-rw-r--r--src/mod_pubsub_odbc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub_odbc.erl b/src/mod_pubsub_odbc.erl
index 3a0d13a60..ee438843d 100644
--- a/src/mod_pubsub_odbc.erl
+++ b/src/mod_pubsub_odbc.erl
@@ -2704,7 +2704,7 @@ publish_item(Host, ServerHost, Node, Publisher, ItemId, Payload, Access) ->
[#xmlel{name = <<"create">>,
attrs = [{<<"node">>, NewNode}],
children = []}]}]} ->
- publish_item(Host, ServerHost, list_to_binary(NewNode),
+ publish_item(Host, ServerHost, NewNode,
Publisher, ItemId, Payload);
_ ->
{error, ?ERR_ITEM_NOT_FOUND}