Commit 3497cca2 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/trunk@4441 b35dd754-fafc-0310-a699-88a17e54d16e
parent e90b0642
......@@ -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