This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  5375a19   actually modify @notify if podling is found
5375a19 is described below

commit 5375a19b5b5adebf3bbec93cf959a2de5b7c0888
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Sep 21 11:17:39 2016 -0400

    actually modify @notify if podling is found
---
 www/secmail/views/actions/icla.json.rb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/www/secmail/views/actions/icla.json.rb 
b/www/secmail/views/actions/icla.json.rb
index 6881234..55237a3 100644
--- a/www/secmail/views/actions/icla.json.rb
+++ b/www/secmail/views/actions/icla.json.rb
@@ -124,7 +124,11 @@ task "email #@email" do
     reply = 'icla-account-requested.erb'
   elsif pmc
     @notify = "the #{pmc.display_name} PMC has"
-    @notify.sub 'has', "and the #{podling.display_name} podling have" if 
podling
+
+    if podling
+      @notify.sub! /has$/, "and the #{podling.display_name} podling have"
+    end
+
     reply = 'icla-pmc-notified.erb'
   else
     reply = 'icla.erb'

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Reply via email to