aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2013-06-24 18:05:42 +0200
committerChristophe Romain <christophe.romain@process-one.net>2013-06-24 18:05:42 +0200
commit1cb03439f2eb9a3255577088d14d184c840bf01a (patch)
tree8d19a08670e393240b1e2b94da7858cd35fd6d70 /src
parentdecode_jid always gets binary(), encode_jid lets mod_pubsub handle conversion (diff)
add missing list conversion
Diffstat (limited to 'src')
-rw-r--r--src/node_hometree_odbc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_hometree_odbc.erl b/src/node_hometree_odbc.erl
index 1a0832c09..5da348618 100644
--- a/src/node_hometree_odbc.erl
+++ b/src/node_hometree_odbc.erl
@@ -1245,7 +1245,7 @@ get_items(NodeId, From, none) ->
of
{selected, [<<"val">>], [[Value]]} ->
Tokens = element(2,
- erl_scan:string(<<Value/binary, ".">>)),
+ erl_scan:string(binary_to_list(<<Value/binary, ".">>))),
element(2, erl_parse:parse_term(Tokens));
_ -> ?MAXITEMS
end,