Avoid crash when performing admin action (thanks to Evgeniy Khramtsov)
This commit is contained in:
parent
1aa36cb05c
commit
151994c8d5
|
@ -2559,7 +2559,7 @@ find_changed_items(UJID, UAffiliation, URole,
|
||||||
S when S =/= false ->
|
S when S =/= false ->
|
||||||
try exmpp_jid:parse(S) of
|
try exmpp_jid:parse(S) of
|
||||||
J ->
|
J ->
|
||||||
{value, J}
|
{value, [J]}
|
||||||
catch
|
catch
|
||||||
_:_ ->
|
_:_ ->
|
||||||
ErrText = io_lib:format(
|
ErrText = io_lib:format(
|
||||||
|
|
Loading…
Reference in New Issue