From 0266207e9d4041deb3f0abca2583984b90996824 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Thu, 4 Jul 2013 15:13:21 +0200 Subject: [PATCH] fix pubsub unsubscription without SubId on odbc --- src/node_hometree_odbc.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,