25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix bug when getting room config

This commit is contained in:
Badlop 2013-04-15 11:14:32 +02:00
parent abc1341b3f
commit c0afb1f282

View File

@ -3287,7 +3287,7 @@ get_config(Lang, StateData, From) ->
of
N when is_integer(N) ->
{N,
erlang:integer_to_binary(N)};
jlib:integer_to_binary(N)};
_ -> {0, <<"none">>}
end,
Res = [#xmlel{name = <<"title">>, attrs = [],