mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
add missing list conversion
This commit is contained in:
parent
3976351c4d
commit
1cb03439f2
@ -1245,7 +1245,7 @@ get_items(NodeId, From, none) ->
|
|||||||
of
|
of
|
||||||
{selected, [<<"val">>], [[Value]]} ->
|
{selected, [<<"val">>], [[Value]]} ->
|
||||||
Tokens = element(2,
|
Tokens = element(2,
|
||||||
erl_scan:string(<<Value/binary, ".">>)),
|
erl_scan:string(binary_to_list(<<Value/binary, ".">>))),
|
||||||
element(2, erl_parse:parse_term(Tokens));
|
element(2, erl_parse:parse_term(Tokens));
|
||||||
_ -> ?MAXITEMS
|
_ -> ?MAXITEMS
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user