Commit a861b320 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Return an empty string if email is null. JM-778

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/branches@4443 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8368858a
...@@ -180,7 +180,7 @@ public class User implements Cacheable { ...@@ -180,7 +180,7 @@ public class User implements Cacheable {
} }
public String getEmail() { public String getEmail() {
return email; return email == null ? "" : email;
} }
public void setEmail(String email) { public void setEmail(String email) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment