Skip to content

Commit

Permalink
Merge pull request #1687 from ldidry/fix-reject-from-url
Browse files Browse the repository at this point in the history
πŸ› β€” Fix error when rejecting message from direct URL
  • Loading branch information
racke authored Dec 1, 2023
2 parents 38faeb0 + f24f10c commit 06d14c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cgi/wwsympa.fcgi.in
Original file line number Diff line number Diff line change
Expand Up @@ -7578,6 +7578,9 @@ sub do_reject {
if (($in{'quiet'} ne '1') || ($in{'blocklist'})) {
my $rejected_sender = $message->{'sender'};
if ($rejected_sender) {
unless ($in{'message_template'}) {
$in{'message_template'} = 'reject';
}
unless ($in{'message_template'} eq 'reject_quiet') {
my %context;
$context{'subject'} = $message->{'decoded_subject'};
Expand Down

0 comments on commit 06d14c0

Please sign in to comment.