aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/mod_roster_odbc.erl4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 996e7ca54..e2ec555fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* src/gen_iq_handler.erl: Bugfix
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,