25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

fix get node configuration bug (Thanks to Brian Cully)

SVN Revision: 2392
This commit is contained in:
Christophe Romain 2009-07-24 20:09:25 +00:00
parent 164e1520d4
commit ff1f4f5a35

View File

@ -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),