25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Fix room configuration after binarization

This commit is contained in:
Badlop 2013-03-22 17:14:47 +01:00
parent d901aa982b
commit 9b510579b3

View File

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