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  e8443d3   check for empty
e8443d3 is described below

commit e8443d3f3a1fa8f5ae26ab9c4d901e52697a01dd
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Sep 19 14:49:26 2016 -0400

    check for empty
---
 www/secmail/views/actions/icla.json.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/secmail/views/actions/icla.json.rb 
b/www/secmail/views/actions/icla.json.rb
index e5c643a..3a9c4bf 100644
--- a/www/secmail/views/actions/icla.json.rb
+++ b/www/secmail/views/actions/icla.json.rb
@@ -112,9 +112,9 @@ end
 # send confirmation email
 task "email #@email" do
   # chose reply based on whether or not the project/userid info was provided
-  if @user
+  if @user and not @user.empty?
     reply = 'icla-account-requested.erb'
-  elsif @product
+  elsif @product and not @project.empty?
     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