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 2021/02/22 12:59:01 UTC
[whimsy] branch master updated: Try again
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 7f33110 Try again
7f33110 is described below
commit 7f3311097982603c02d384ea4bfc11afc23e24cc
Author: Sebb <se...@apache.org>
AuthorDate: Mon Feb 22 12:58:51 2021 +0000
Try again
---
www/members/nominations.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/members/nominations.cgi b/www/members/nominations.cgi
index 1ec1b3f..94d1a13 100755
--- a/www/members/nominations.cgi
+++ b/www/members/nominations.cgi
@@ -91,7 +91,7 @@ _html do
_ul nominations.sort_by {|nominee| nominee[:name]} do |nominee|
_li! do
person = ASF::Person.find(nominee[:id])
- match = /\b(#{Regexp.escape(nominee[:name]|person.public_name)})\b/i
+ match = /\b(#{Regexp.escape(nominee[:name]||'')}|#{Regexp.escape(person.public_name||'')})\b/i
if emails.any? {|mail| mail.subject.downcase =~ match}
_a.present person.public_name, href: "#{ROSTER}/#{nominee[:id]}"