aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 6d7535e0b..090fae513 100644
--- a/src/node_hometree_odbc.erl
+++ b/src/node_hometree_odbc.erl
@@ -383,7 +383,7 @@ unsubscribe_node(NodeId, Sender, Subscriber, SubId) ->
{Affiliation, Subscriptions} =
select_affiliation_subscriptions(NodeId, SubKey),
SubIdExists = case SubId of
- [] -> false;
+ <<>> -> false;
List when is_binary(List) -> true;
_ -> false
end,