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 cfd6296  Backup rescue
cfd6296 is described below

commit cfd6296e14440a81d9462527d24e19fbc46ce5c9
Author: Sebb <[email protected]>
AuthorDate: Thu Dec 14 13:42:52 2017 +0000

    Backup rescue
---
 www/roster/views/actions/ppmc.json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/views/actions/ppmc.json.rb 
b/www/roster/views/actions/ppmc.json.rb
index 149e9d4..b0adf29 100644
--- a/www/roster/views/actions/ppmc.json.rb
+++ b/www/roster/views/actions/ppmc.json.rb
@@ -73,7 +73,7 @@ if env.password
   # extract people's names (for short lists) or ids (for longer lists)
   if people.length <= 2
     # Person may not exist when ids are renamed
-    who = people.map {|person| (person.public_name rescue person.id)}.join(' 
and ')
+    who = people.map {|person| (person.public_name rescue person.id rescue '?' 
)}.join(' and ')
   else
     who = people[0..-2].map {|person| person.id}.join(', ') + 
       ', and ' + people.last.id

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to