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

sebb 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 7c543c0f Ensure system return is preserved
7c543c0f is described below

commit 7c543c0f5de909fc84fc97709f98fd6d4444305b
Author: Sebb <[email protected]>
AuthorDate: Wed Feb 1 17:19:13 2023 +0000

    Ensure system return is preserved
---
 www/members/member_nominations.cgi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/members/member_nominations.cgi 
b/www/members/member_nominations.cgi
index c76dc718..2ffdc71c 100755
--- a/www/members/member_nominations.cgi
+++ b/www/members/member_nominations.cgi
@@ -57,7 +57,7 @@ module Wunderbar
 
       out = []
       okind = nil
-      super(*args, opts) do |kind, line|
+      rc = super(*args, opts) do |kind, line|
         if merge_lines
           if okind && kind != okind && !out.empty? # change of kind
             tag! tag, out.join("\n"), class: output_class[okind]
@@ -73,6 +73,7 @@ module Wunderbar
       unless out.empty?
         tag! tag, out.join("\n"), class: output_class[okind]
       end
+      return rc
     end
   end
 end
@@ -121,7 +122,6 @@ _html do
           of the nomination to the members list.
           There is currently no support for updating an existing entry.
         }
-        _h3 'WARNING: there is an error reported after the commit - being 
investigated!'
       }
     ) do
 

Reply via email to