]> granicus.if.org Git - ejabberd/commitdiff
sync pubsub_odbc with last fix
authorChristophe Romain <christophe.romain@process-one.net>
Tue, 18 Jun 2013 10:23:32 +0000 (12:23 +0200)
committerChristophe Romain <christophe.romain@process-one.net>
Tue, 18 Jun 2013 10:23:32 +0000 (12:23 +0200)
src/mod_pubsub_odbc.erl

index 3a0d13a6042fd86d6df0c1c8ae7e1b25ceb4152d..ee438843dfcbf75994d025b3f12aa193e4df4709 100644 (file)
@@ -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}