From 68784e7ff81a477fd4a973ba302d96285def9b7d Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Sun, 18 Sep 2005 10:44:39 +0000 Subject: [PATCH] Fix replyto email address bug. If Reply-To wasn't set we wouldn't be able to send a reply email from onak-mail.pl for ADD/(V)INDEX mails. Fix this so we'll use Reply-To or From if that isn't set. --- onak-mail.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onak-mail.pl.in b/onak-mail.pl.in index 5c1ce53..c635dfb 100644 --- a/onak-mail.pl.in +++ b/onak-mail.pl.in @@ -257,7 +257,7 @@ while ($file = readdir(MAILDIR)) { push @body, $_; } } - if (! defined($replyto)) { + if ($replyto eq '') { $replyto = $from; } close(FILE); -- 2.39.5