Avoid crash when performing admin action (thanks to Evgeniy Khramtsov)

This commit is contained in:
Badlop 2011-09-09 11:29:46 +02:00
parent 1aa36cb05c
commit 151994c8d5
1 changed files with 1 additions and 1 deletions

View File

@ -2559,7 +2559,7 @@ find_changed_items(UJID, UAffiliation, URole,
S when S =/= false ->
try exmpp_jid:parse(S) of
J ->
{value, J}
{value, [J]}
catch
_:_ ->
ErrText = io_lib:format(