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

e_clause error at node_hometree_odbc:get_items/3

This commit is contained in:
HAMANO Tsukasa 2014-06-04 18:53:37 +09:00
parent c546ce2439
commit cc228db337

View File

@ -1317,6 +1317,7 @@ get_items(NodeId, _From,
first = <<"modification@", F/binary>>,
last = <<"modification@", (jlib:i2l(L))/binary>>},
{result, {[raw_to_item(NodeId, RItem) || RItem <- RItems], RsmOut}};
[] -> {result, {[], #rsm_out{count = Count}}};
0 -> {result, {[], #rsm_out{count = Count}}}
end;
_ -> {result, {[], none}}