mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/ejd2odbc.erl: Bugfix (thanks to Badlop)
SVN Revision: 769
This commit is contained in:
parent
b444faaf89
commit
897cc13f42
@ -315,8 +315,14 @@ record_to_string(#roster{usj = {User, _Server, JID},
|
||||
in -> "I";
|
||||
none -> "N"
|
||||
end,
|
||||
SAskMessage = ejabberd_odbc:escape(
|
||||
binary_to_list(list_to_binary([AskMessage]))),
|
||||
SAskMessage =
|
||||
case catch ejabberd_odbc:escape(
|
||||
binary_to_list(list_to_binary([AskMessage]))) of
|
||||
{'EXIT', _Reason} ->
|
||||
[];
|
||||
SAM ->
|
||||
SAM
|
||||
end,
|
||||
["("
|
||||
"'", Username, "',"
|
||||
"'", SJID, "',"
|
||||
|
Loading…
Reference in New Issue
Block a user