aboutsummaryrefslogtreecommitdiff
path: root/src/mod_pubsub/mod_pubsub.erl
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2009-07-24 20:09:25 +0000
committerChristophe Romain <christophe.romain@process-one.net>2009-07-24 20:09:25 +0000
commitff1f4f5a358a715460f39bf83f7110857b393084 (patch)
tree1e7806bebd7e9d2aa56a163553bc327c66aa465a /src/mod_pubsub/mod_pubsub.erl
parentNew command to dump a table to text file. (diff)
fix get node configuration bug (Thanks to Brian Cully)
SVN Revision: 2392
Diffstat (limited to 'src/mod_pubsub/mod_pubsub.erl')
-rw-r--r--src/mod_pubsub/mod_pubsub.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl
index 3ad2e254e..c549c584c 100644
--- a/src/mod_pubsub/mod_pubsub.erl
+++ b/src/mod_pubsub/mod_pubsub.erl
@@ -3207,7 +3207,7 @@ max_items(Options) ->
-define(NLIST_CONFIG_FIELD(Label, Var),
?STRINGMXFIELD(Label, "pubsub#" ++ atom_to_list(Var),
- [node_to_string(N) || N <- get_option(Options, Var)])).
+ [node_to_string(N) || N <- get_option(Options, Var, [])])).
get_configure_xfields(_Type, Options, Lang, Groups) ->
[?XFIELD("hidden", "", "FORM_TYPE", ?NS_PUBSUB_NODE_CONFIG),