Fix error HTTP 500 happening on Point of Sale (Fix: #4355) (#4368)

This commit is contained in:
Nicolas Dorier
2022-11-28 20:50:09 +09:00
committed by GitHub
parent 08b239e87a
commit c0cec4716e
4 changed files with 13 additions and 13 deletions

View File

@@ -57,7 +57,7 @@ public class UIFormsController : Controller
if (formData?.Config is null)
return NotFound();
if (command is not "Submit")
if (!Request.HasFormContentType)
return GetFormView(formData, redirectUrl);
var conf = Form.Parse(formData.Config);