whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Oops - missing return
Date Wed, 02 Oct 2019 19:01:17 GMT
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 <sebb@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


Mime
View raw message