You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2022/02/10 14:31:36 UTC

[whimsy] branch master updated: Show missing name

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 47b9ab7  Show missing name
47b9ab7 is described below

commit 47b9ab7bf520098ee7ce46769508dd05c68acb62
Author: Sebb <se...@apache.org>
AuthorDate: Thu Feb 10 14:31:29 2022 +0000

    Show missing name
---
 www/members/nominations.cgi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/members/nominations.cgi b/www/members/nominations.cgi
index 796e1c2..76d18cf 100755
--- a/www/members/nominations.cgi
+++ b/www/members/nominations.cgi
@@ -112,9 +112,9 @@ _html do
               match = create_match(nominee)
 
               if emails.any? {|mail| mail.subject.downcase =~ match}
-                _a.present person.public_name, href: "#{ROSTER}/#{nominee[:id]}"
+                _a.present person.public_name || '??', href: "#{ROSTER}/#{nominee[:id]}"
               else
-                _a.missing person.public_name, href: "#{ROSTER}/#{nominee[:id]}"
+                _a.missing person.public_name || '??', href: "#{ROSTER}/#{nominee[:id]}"
                 _ ' Nominated by: '
                 _ nominee[:nominator]
               end