|
|
@@ -265,8 +265,8 @@ public class UserAccount implements Serializable {
|
|
|
}
|
|
|
|
|
|
public String getSpaceName() {
|
|
|
- if (spaceName != null && email.contains(Const.REPEAT_SEPARATOR)) {
|
|
|
- return email.substring(0, email.indexOf(Const.REPEAT_SEPARATOR));
|
|
|
+ if (spaceName != null && spaceName.contains(Const.REPEAT_SEPARATOR)) {
|
|
|
+ return spaceName.substring(0, spaceName.indexOf(Const.REPEAT_SEPARATOR));
|
|
|
}
|
|
|
return spaceName;
|
|
|
}
|