diff options
author | Alexey Shchepin <alexey@process-one.net> | 2005-10-18 20:13:33 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2005-10-18 20:13:33 +0000 |
commit | c78927ecf71b10c1677df52a9191984835c9f51a (patch) | |
tree | 238dbcd9727e76ecb6e901950872a05081fd367b /src | |
parent | * src/gen_iq_handler.erl: Bugfix (diff) |
* src/mod_roster_odbc.erl: Bugfix
SVN Revision: 423
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_roster_odbc.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_roster_odbc.erl b/src/mod_roster_odbc.erl index 27ff539ea..75b58e8b6 100644 --- a/src/mod_roster_odbc.erl +++ b/src/mod_roster_odbc.erl @@ -764,7 +764,7 @@ get_jid_info(_, User, Server, JID) -> "where username='", Username, "' " "and jid='", SJID, "'"]) of {selected, ["grp"], JGrps} when is_list(JGrps) -> - JGrps; + [JGrp || {JGrp} <- JGrps]; _ -> [] end, @@ -794,7 +794,7 @@ get_jid_info(_, User, Server, JID) -> "where username='", Username, "' " "and jid='", SRJID, "'"]) of {selected, ["grp"], JGrps} when is_list(JGrps) -> - JGrps; + [JGrp || {JGrp} <- JGrps]; _ -> [] end, |