This commit is contained in:
Milos Kozak 2019-09-08 09:43:10 +02:00
parent 13a03c362b
commit 8b502c93c9

View file

@ -102,7 +102,8 @@ public class ProfileFunctions {
}
public boolean isProfileValid(String from) {
return getProfile() != null && getProfile().isValid(from);
Profile profile = getProfile();
return profile != null && profile.isValid(from);
}
@Nullable