]> granicus.if.org Git - ejabberd/commitdiff
* src/ejd2odbc.erl: Bugfix (thanks to Badlop)
authorAlexey Shchepin <alexey@process-one.net>
Sun, 13 May 2007 22:41:19 +0000 (22:41 +0000)
committerAlexey Shchepin <alexey@process-one.net>
Sun, 13 May 2007 22:41:19 +0000 (22:41 +0000)
SVN Revision: 768

ChangeLog
src/ejd2odbc.erl

index a21b8dc8cbbfb60fc8ed1115bcc3752e2d52fe57..0811e0b920c51e5f84fa72634bb004c55411e3a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-14  Alexey Shchepin  <alexey@sevcom.net>
+
+       * src/ejd2odbc.erl: Bugfix (thanks to Badlop)
+
 2007-05-12  Alexey Shchepin  <alexey@sevcom.net>
 
        * src/ejabberd_auth.erl: Added get_vh_registered_users_number/1
index f8587980867eb3006521cc5f6fdb006f4f214cec..dba394f9e50978bda1fafae2288397c73ea82e54 100644 (file)
@@ -315,7 +315,8 @@ record_to_string(#roster{usj = {User, _Server, JID},
               in          -> "I";
               none        -> "N"
           end,
-    SAskMessage = ejabberd_odbc:escape(AskMessage),
+    SAskMessage = ejabberd_odbc:escape(
+                   binary_to_list(list_to_binary([AskMessage]))),
     ["("
      "'", Username, "',"
      "'", SJID, "',"