You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sebastian Bazley <se...@apache.org> on 2016/02/15 13:16:47 UTC

[whimsy.git] [1/1] Commit e9be3af: All other array getters return an empty array if not present

Commit e9be3af62a94b1500ad850cb90a5e7c0729092e5:
    All other array getters return an empty array if not present


Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@apache.org>

------------------------------------------------------------
lib/whimsy/asf/ldap.rb                                       | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------


diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 83f23ba..2df713b 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -332,7 +332,7 @@ def alt_email
     end
 
     def pgp_key_fingerprints
-      attrs['asf-pgpKeyFingerprint']
+      attrs['asf-pgpKeyFingerprint'] || []
     end
 
     def urls