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 600ada8e Needs to be an array
600ada8e is described below

commit 600ada8e87aec8e0dd30a326fba26deb28ad5284
Author: Sebb <[email protected]>
AuthorDate: Tue Mar 12 22:40:21 2024 +0000

    Needs to be an array
---
 www/members/invitations.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/members/invitations.cgi b/www/members/invitations.cgi
index d41a47d8..50acc9cf 100755
--- a/www/members/invitations.cgi
+++ b/www/members/invitations.cgi
@@ -89,7 +89,7 @@ def setup_data
     mails = ASF::Person.new(id).all_mail
     v[:invited] = match_person(invites, id, v[:name], mails)
     v[:replied] = match_person(replies, id, v[:name], mails)
-    v[:nominators] = nominated_by[id] || 'unknown'
+    v[:nominators] = nominated_by[id] || ['unknown']
   end
   notapplied.each do |record|
     id = record[:id]

Reply via email to