From 32ceec3b63cbaf7cb72d82101b5afa25ffca716d Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Tue, 22 Feb 2022 22:03:25 +0100 Subject: Fix sending mail when submitting invite form --- gpigeon-template.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}/{}/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') ){ -- cgit v1.2.3-70-g09d2