diff --git a/ChangeLog b/ChangeLog index 7c32e1aab..a0944bb5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-22 Mickael Remond + + * src/mod_configure.erl: Fix adhoc commands reply types for + "get-online-users-num" and "get-registered-users-num" (EJAB-756). + 2008-09-15 Badlop * doc/guide.tex: Fix explanation of mod_muc's anonymous diff --git a/src/mod_configure.erl b/src/mod_configure.erl index da7f02c94..34938fab9 100644 --- a/src/mod_configure.erl +++ b/src/mod_configure.erl @@ -1248,7 +1248,7 @@ get_form(Host, ?NS_ADMINL("get-registered-users-num"), Lang) -> [?HFIELD(), {xmlelement, "field", - [{"type", "jid-single"}, + [{"type", "text-single"}, {"label", ?T(Lang, "Number of registered users")}, {"var", "registeredusersnum"}], [{xmlelement, "value", [], [{xmlcdata, Num}]}] @@ -1262,7 +1262,7 @@ get_form(Host, ?NS_ADMINL("get-online-users-num"), Lang) -> [?HFIELD(), {xmlelement, "field", - [{"type", "jid-single"}, + [{"type", "text-single"}, {"label", ?T(Lang, "Number of online users")}, {"var", "onlineusersnum"}], [{xmlelement, "value", [], [{xmlcdata, Num}]}]