aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgpigeon-template.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpigeon-template.cgi b/gpigeon-template.cgi
index c4fb6e9..a105841 100755
--- a/gpigeon-template.cgi
+++ b/gpigeon-template.cgi
@@ -436,7 +436,7 @@ if($loginok){
s/{mailfield_goes_here}/{<input type="text" name="mailaddr" placeholder="Your mail address used for GPG" required autofocus>}/g;
if (defined $cgi_query_get->param('mailnotif') ){
- s/EMAIL_NOTIF = q{0}/EMAIL_NOTIF = q{1}/g
+ s/EMAIL_NOTIF = .*/EMAIL_NOTIF = q{1}/g
}
if (defined $cgi_query_get->param('adminprom') ){