mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
fix get node configuration bug (Thanks to Brian Cully)
SVN Revision: 2392
This commit is contained in:
parent
164e1520d4
commit
ff1f4f5a35
@ -3207,7 +3207,7 @@ max_items(Options) ->
|
|||||||
|
|
||||||
-define(NLIST_CONFIG_FIELD(Label, Var),
|
-define(NLIST_CONFIG_FIELD(Label, Var),
|
||||||
?STRINGMXFIELD(Label, "pubsub#" ++ atom_to_list(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) ->
|
get_configure_xfields(_Type, Options, Lang, Groups) ->
|
||||||
[?XFIELD("hidden", "", "FORM_TYPE", ?NS_PUBSUB_NODE_CONFIG),
|
[?XFIELD("hidden", "", "FORM_TYPE", ?NS_PUBSUB_NODE_CONFIG),
|
||||||
|
Loading…
Reference in New Issue
Block a user