]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
mail.cgi: Always check content of fields
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Oct 2019 10:49:39 +0000 (10:49 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Oct 2019 10:49:39 +0000 (10:49 +0000)
commitb9b9aba5bb7604530ed4b258c795d621c9e5f1e3
treea60fdf7b81339ce1f06b83e2b275858f6fd111fe
parentc772b7550c4dd06f7945e32cc6af47e8f6a0f229
mail.cgi: Always check content of fields

These checks did not do anything but clear all fields
when mailing was disabled.

It makes a lot more sense to retain people's settings,
even when they have been disabled.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/mail.cgi