You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2018/07/18 23:49:50 UTC

[whimsy] branch master updated: check for chair before extracting the id

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 0f8b2b6  check for chair before extracting the id
0f8b2b6 is described below

commit 0f8b2b64869a7e4baaba0dd9130cf9d7d2fe8404
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Jul 18 19:49:21 2018 -0400

    check for chair before extracting the id
---
 lib/whimsy/asf/agenda/special.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/agenda/special.rb b/lib/whimsy/asf/agenda/special.rb
index 5f67b76..f0ca10e 100644
--- a/lib/whimsy/asf/agenda/special.rb
+++ b/lib/whimsy/asf/agenda/special.rb
@@ -108,7 +108,7 @@ class ASF::Board::Agenda
 
         if title =~ /Change (.*?) Chair/
           need_chair = true 
-        else # Terminate
+        elsif committee.chair # Terminate
           attrs['chair'] = committee.chair.id
         end