From: Evgeniy Khramtsov Date: Sun, 29 Apr 2012 09:34:57 +0000 (+1000) Subject: Fix get_subscription_lists/4 X-Git-Tag: v2.1.12~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6719d9669b6dc420652c02f7af44e9605ede1c07;p=ejabberd Fix get_subscription_lists/4 --- 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),