From: Christophe Romain Date: Mon, 1 Aug 2016 08:55:02 +0000 (+0200) Subject: Add missing comas in sql statement (#1219) X-Git-Tag: 16.08~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9c6748ec7831ba5e0323186f148edb78ba9aa05;p=ejabberd Add missing comas in sql statement (#1219) --- diff --git a/src/nodetree_tree_sql.erl b/src/nodetree_tree_sql.erl index edfdbc1d5..9f6b6d5a7 100644 --- a/src/nodetree_tree_sql.erl +++ b/src/nodetree_tree_sql.erl @@ -77,9 +77,9 @@ set_node(Record) when is_record(Record, pubsub_node) -> catch ejabberd_sql:sql_query_t( ?SQL("update pubsub_node set" - " host=%(H)s" - " node=%(Node)s" - " parent=%(Parent)s" + " host=%(H)s," + " node=%(Node)s," + " parent=%(Parent)s," " type=%(Type)s " "where nodeid=%(OldNidx)d")), OldNidx;