Commit 1a0e669d 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/3_0_branch@4443 b35dd754-fafc-0310-a699-88a17e54d16e
parent 0e89f476
......@@ -180,7 +180,7 @@ public class User implements Cacheable {
}
public String getEmail() {
return email;
return email == null ? "" : 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