Fix NPE in GroupManager migration (#1118)

This commit is contained in:
Luck 2018-07-24 21:03:14 -07:00
parent 054f0c2c19
commit c3cdf387c2
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -170,7 +170,7 @@ public class MigrationGroupManager extends SubCommand<Object> {
}
String lastName = user.getLastName();
if (Uuids.parse(lastName).isPresent()) {
if (lastName != null && Uuids.parse(lastName).isPresent()) {
lastName = null;
}