25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

* src/ejd2odbc.erl: Bugfix

SVN Revision: 698
This commit is contained in:
Alexey Shchepin 2006-12-20 23:22:05 +00:00
parent 7f4d5a806e
commit ea92c3cf2f
2 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,7 @@
2006-12-21 Alexey Shchepin <alexey@sevcom.net>
* src/ejd2odbc.erl: Bugfix
2006-12-16 Mickael Remond <mickael.remond@process-one.net>
* README: Added this file as a quickstart guide.

View File

@ -235,7 +235,8 @@ export_private_storage(Server, Output) ->
when LServer == Host ->
Username = ejabberd_odbc:escape(LUser),
LXMLNS = ejabberd_odbc:escape(XMLNS),
SData = ejabberd_odbc:escape(Data),
SData = ejabberd_odbc:escape(
lists:flatten(xml:element_to_string(Data))),
odbc_queries:set_private_data_sql(Username, LXMLNS, SData);
(_Host, _R) ->
[]