This is an automated email from the ASF dual-hosted git repository.

curcuru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new aba26d3a Fixup syntax
aba26d3a is described below

commit aba26d3adbbdb4d818e147675153c75430cf3c65
Author: Shane Curcuru <[email protected]>
AuthorDate: Fri Jan 24 14:07:44 2025 -0500

    Fixup syntax
---
 www/members/member_nominations.cgi | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/www/members/member_nominations.cgi 
b/www/members/member_nominations.cgi
index 1183ca8c..493df567 100755
--- a/www/members/member_nominations.cgi
+++ b/www/members/member_nominations.cgi
@@ -104,10 +104,9 @@ MAILBODY
       body mail_body
     end
   end
-    mail.deliver!
-    return "The following email was just sent on your behalf:\n\n#{mail_body}"
-  end
-  return "WARNING: mail not sent!"
+  mail.deliver!
+  return "The following email was just sent on your behalf:\n\n#{mail_body}"
+
 end
 
 # Produce HTML

Reply via email to