This is an automated email from the ASF dual-hosted git repository. rubys 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 ce7ffc5 recover if there is no given name ce7ffc5 is described below commit ce7ffc56cc0bbefc441ae461455868c447cf4452 Author: Sam Ruby <ru...@intertwingly.net> AuthorDate: Mon Apr 9 05:43:32 2018 -0400 recover if there is no given name --- www/roster/models/committer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/roster/models/committer.rb b/www/roster/models/committer.rb index 34c2134..c8029ac 100644 --- a/www/roster/models/committer.rb +++ b/www/roster/models/committer.rb @@ -32,7 +32,7 @@ class Committer name[:ldap] = person.attrs['cn'].first.force_encoding('utf-8') end - unless person.attrs['givenName'].empty? + unless (person.attrs['givenName'] || ).empty? name[:given_name] = person.attrs['givenName'].first.force_encoding('utf-8') end -- To stop receiving notification emails like this one, please contact ru...@apache.org.