]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
ipblocklist.cgi: Fix settings checkbox handling
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 7 Mar 2023 12:17:35 +0000 (13:17 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 11 Mar 2023 16:27:32 +0000 (16:27 +0000)
commit0450dce6f6eb02fc539c0f0d0ccc01a281dcad58
treeea09ad2b8319bc0417111de2279e29db2d22cb64
parent1b70ead36dfaf6541677e4ac5d05867273eaa265
ipblocklist.cgi: Fix settings checkbox handling

Checkboxes does not submit any values if they are not checked.
Default them to "off" in such a case.

This fixes the issue not beeing able to disable the logging.

Fixes #12979.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
html/cgi-bin/ipblocklist.cgi