BUG11137: Captive save action messes up the form

Message ID 1467197275-6949-1-git-send-email-alexander.marx@ipfire.org
State Dropped
Headers show


Alexander Marx June 29, 2016, 8:47 p.m. UTC
When configuring the captiveportal for the first time the form
will be empty after clicking on save button if not all relevant fields are set.

Now the settings are stored even if there is an error.

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
 html/cgi-bin/captive.cgi | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)