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

* src/mod_roster_odbc.erl: Bugfix

SVN Revision: 423
This commit is contained in:
Alexey Shchepin 2005-10-18 20:13:33 +00:00
parent 2a9618aeb4
commit c78927ecf7
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-10-18 Alexey Shchepin <alexey@sevcom.net>
* src/mod_roster_odbc.erl: Bugfix
2005-10-16 Alexey Shchepin <alexey@sevcom.net> 2005-10-16 Alexey Shchepin <alexey@sevcom.net>
* src/gen_iq_handler.erl: Bugfix * src/gen_iq_handler.erl: Bugfix

View File

@ -764,7 +764,7 @@ get_jid_info(_, User, Server, JID) ->
"where username='", Username, "' " "where username='", Username, "' "
"and jid='", SJID, "'"]) of "and jid='", SJID, "'"]) of
{selected, ["grp"], JGrps} when is_list(JGrps) -> {selected, ["grp"], JGrps} when is_list(JGrps) ->
JGrps; [JGrp || {JGrp} <- JGrps];
_ -> _ ->
[] []
end, end,
@ -794,7 +794,7 @@ get_jid_info(_, User, Server, JID) ->
"where username='", Username, "' " "where username='", Username, "' "
"and jid='", SRJID, "'"]) of "and jid='", SRJID, "'"]) of
{selected, ["grp"], JGrps} when is_list(JGrps) -> {selected, ["grp"], JGrps} when is_list(JGrps) ->
JGrps; [JGrp || {JGrp} <- JGrps];
_ -> _ ->
[] []
end, end,