From: Holger Weiss Date: Sat, 5 Apr 2014 21:23:44 +0000 (+0200) Subject: Fix badarg issue on module update web site X-Git-Tag: 14.05~79^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e02a4913d2c6009f33febd2a3fc652cf08099ca9;p=ejabberd Fix badarg issue on module update web site --- diff --git a/src/ejabberd_web_admin.erl b/src/ejabberd_web_admin.erl index 9f5a5f08f..781c125dd 100644 --- a/src/ejabberd_web_admin.erl +++ b/src/ejabberd_web_admin.erl @@ -2183,7 +2183,7 @@ get_node(global, Node, [<<"update">>], Query, Lang) -> ?XCT(<<"h3">>, <<"Update script">>), FmtScript, ?XCT(<<"h3">>, <<"Low level update script">>), FmtLowLevelScript, ?XCT(<<"h3">>, <<"Script check">>), - ?XC(<<"pre">>, (iolist_to_binary(Check))), + ?XC(<<"pre">>, (jlib:atom_to_binary(Check))), ?BR, ?INPUTT(<<"submit">>, <<"update">>, <<"Update">>)])]; get_node(Host, Node, NPath, Query, Lang) ->