aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2012-04-29 19:34:57 +1000
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2012-04-29 19:34:57 +1000
commit6719d9669b6dc420652c02f7af44e9605ede1c07 (patch)
tree45757cf4e44df7538fc72ef4e2170fa3e8000322 /src
parentDo not trigger item-not-found errors in mod_http_bind (part of EJABS-1827) (diff)
Fix get_subscription_lists/4
Diffstat (limited to 'src')
-rw-r--r--src/mod_roster.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_roster.erl b/src/mod_roster.erl
index 5e6b4fd52..65d5c0965 100644
--- a/src/mod_roster.erl
+++ b/src/mod_roster.erl
@@ -598,7 +598,7 @@ get_subscription_lists(_, LUser, LServer, mnesia) ->
Items when is_list(Items) ->
Items;
_ ->
- {[], []}
+ []
end;
get_subscription_lists(_, LUser, LServer, odbc) ->
Username = ejabberd_odbc:escape(LUser),