Workaround for Psi's wrong Type in form submission

This commit is contained in:
Badlop 2010-10-25 18:58:31 +02:00
parent eca7588abf
commit 9c5f34794a
1 changed files with 2 additions and 0 deletions

View File

@ -457,6 +457,8 @@ parse_xdata_submit(El) ->
case xml:get_attr_s("type", Attrs) of
"submit" ->
lists:reverse(parse_xdata_fields(Els, []));
"form" -> %% This is a workaround to accept Psi's wrong forms
lists:reverse(parse_xdata_fields(Els, []));
_ ->
invalid
end.