diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2013-07-04 15:13:21 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2013-07-04 15:13:21 +0200 |
commit | 0266207e9d4041deb3f0abca2583984b90996824 (patch) | |
tree | 88a79ab53c6115e34e9b81c423980c5851a15271 /src | |
parent | improve pubsub odbc use of i2l (diff) |
fix pubsub unsubscription without SubId on odbc
Diffstat (limited to 'src')
-rw-r--r-- | src/node_hometree_odbc.erl | 2 |
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, |