From: Stephen Gran Date: Mon, 16 Nov 2009 21:32:10 +0000 (+0000) Subject: make mailDefaultOptions default to true in web interface X-Git-Tag: release-0.3.33~34 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=commitdiff_plain;h=1dbf98fc34104a2a0b56014096e051a4aee3f174 make mailDefaultOptions default to true in web interface Signed-off-by: Stephen Gran --- diff --git a/update.cgi b/update.cgi index c4ad736..052238f 100755 --- a/update.cgi +++ b/update.cgi @@ -108,6 +108,8 @@ if (!($query->param('doupdate'))) { $data{mailcallout} = ""; } + $data{maildefaultoptions} ||= 'TRUE'; + if ($data{maildefaultoptions} eq "TRUE") { $data{maildefaultoptions} = " checked"; } else {