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

sebb 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 6ebddc9  Oops - missing return
6ebddc9 is described below

commit 6ebddc9a838bfda94191e2b1852fe7c5855bd3b6
Author: Sebb <s...@apache.org>
AuthorDate: Wed Oct 2 20:01:14 2019 +0100

    Oops - missing return
---
 www/roster/views/actions/email_forward.json.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/roster/views/actions/email_forward.json.rb 
b/www/roster/views/actions/email_forward.json.rb
index 91826ca..6f4e740 100644
--- a/www/roster/views/actions/email_forward.json.rb
+++ b/www/roster/views/actions/email_forward.json.rb
@@ -25,6 +25,7 @@ if @email_forward  # must agree with email_forward.js.rb
 
   if  @email_forward.empty?
     _error "Forwarding email address must not be empty!"
+    return
   end
 
   # update LDAP

Reply via email to