aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2022-02-22 22:03:25 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2022-02-22 22:03:51 +0100
commit32ceec3b63cbaf7cb72d82101b5afa25ffca716d (patch)
tree20643c349eb07404cbc3c2f95a1f3df7e18f606e
parent97975886290f65307c0636b3fcb502f4258b1978 (diff)
downloadgpigeon-32ceec3b63cbaf7cb72d82101b5afa25ffca716d.tar.gz
gpigeon-32ceec3b63cbaf7cb72d82101b5afa25ffca716d.zip
Fix sending mail when submitting invite form
-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') ){