mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
mod_configure: Fix bug in form generation
SVN Revision: 1893
This commit is contained in:
parent
e989d41d50
commit
2df100213b
@ -6,6 +6,8 @@
|
||||
actualized to expect binary arguments.
|
||||
|
||||
* src/web/ejabberd_web_admin.erl: Fix add / remove users.
|
||||
|
||||
* src/mod_configure.erl: Fix bug in form generation.
|
||||
|
||||
|
||||
2009-02-19 Christophe Romain <christophe.romain@process-one.net>
|
||||
|
@ -51,7 +51,7 @@
|
||||
-include("ejabberd.hrl").
|
||||
-include("adhoc.hrl").
|
||||
|
||||
-define(T(Lang, Text), list_to_binary(translate:translate(Lang, Text))).
|
||||
-define(T(Lang, Text), translate:translate(Lang, Text)).
|
||||
|
||||
%% Copied from ejabberd_sm.erl
|
||||
-record(session, {sid, usr, us, priority, info}).
|
||||
@ -711,7 +711,7 @@ get_running_nodes(Server, _Lang) ->
|
||||
S = list_to_binary(atom_to_list(N)),
|
||||
#xmlel{ns = ?NS_DISCO_ITEMS, name = 'item', attrs =
|
||||
[?XMLATTR('jid', Server),
|
||||
?XMLATTR('node', <<"running nodes/", (list_to_binary(S))/binary>>),
|
||||
?XMLATTR('node', <<"running nodes/", S/binary>>),
|
||||
?XMLATTR('name', S)]}
|
||||
end, lists:sort(DBNodes))
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user