diff --git a/src/node_hometree_odbc.erl b/src/node_hometree_odbc.erl index dfb9886f2..9a4a3b2e7 100644 --- a/src/node_hometree_odbc.erl +++ b/src/node_hometree_odbc.erl @@ -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}}