Add missing comas in sql statement (#1219)

This commit is contained in:
Christophe Romain 2016-08-01 10:55:02 +02:00
parent 4a49dfecf3
commit a9c6748ec7
1 changed files with 3 additions and 3 deletions

View File

@ -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;